File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -473,14 +473,13 @@ def get_config_option(self, config_header):
473
473
def get_compile_options (self , defines , includes , for_asm = False ):
474
474
opts = ['-D%s' % d for d in defines ]
475
475
opts .extend (["-I%s" % i for i in includes if i ])
476
+ config_header = self .get_config_header ()
477
+ if config_header :
478
+ opts .extend (self .get_config_option (config_header ))
476
479
if for_asm :
477
480
return ["--cpreproc" ,
478
481
"--cpreproc_opts=%s" % "," .join (self .flags ['common' ] + opts )]
479
- else :
480
- config_header = self .get_config_header ()
481
- if config_header :
482
- opts .extend (self .get_config_option (config_header ))
483
- return opts
482
+ return opts
484
483
485
484
@hook_tool
486
485
def assemble (self , source , object , includes ):
You can’t perform that action at this time.
0 commit comments