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 @@ -481,14 +481,13 @@ def get_config_option(self, config_header):
481
481
def get_compile_options (self , defines , includes , for_asm = False ):
482
482
opts = ['-D%s' % d for d in defines ]
483
483
opts .extend (["-I%s" % i for i in includes if i ])
484
+ config_header = self .get_config_header ()
485
+ if config_header :
486
+ opts .extend (self .get_config_option (config_header ))
484
487
if for_asm :
485
488
return ["--cpreproc" ,
486
489
"--cpreproc_opts=%s" % "," .join (self .flags ['common' ] + opts )]
487
- else :
488
- config_header = self .get_config_header ()
489
- if config_header :
490
- opts .extend (self .get_config_option (config_header ))
491
- return opts
490
+ return opts
492
491
493
492
@hook_tool
494
493
def assemble (self , source , object , includes ):
You can’t perform that action at this time.
0 commit comments