@@ -337,7 +337,6 @@ def redirect_symbol(source, sync, build_dir):
337337 write (handle , "RESOLVE %s AS %s\n " % (source , sync ))
338338 return "--edit=%s" % filename
339339
340-
341340class ARM_STD (ARM ):
342341
343342 OFFICIALLY_SUPPORTED = True
@@ -359,7 +358,7 @@ def __init__(
359358 build_profile = build_profile
360359 )
361360 if int (target .build_tools_metadata ["version" ]) > 0 :
362- #check only for ARMC5 because ARM_STD means using ARMC5, and thus
361+ #check only for ARMC5 because ARM_STD means using ARMC5, and thus
363362 # supported_toolchains must include ARMC5
364363 if "ARMC5" not in target .supported_toolchains :
365364 raise NotSupportedException (
@@ -565,13 +564,14 @@ def get_config_option(self, config_header):
565564 return ["-include" , config_header ]
566565
567566 def get_compile_options (self , defines , includes , for_asm = False ):
568-
567+
569568 opts = ['-D%s' % d for d in defines ]
569+
570570 if self .RESPONSE_FILES :
571571 opts += ['@{}' .format (self .get_inc_file (includes ))]
572572 else :
573573 opts += ["-I%s" % i for i in includes if i ]
574-
574+
575575 config_header = self .get_config_header ()
576576 if config_header :
577577 opts .extend (self .get_config_option (config_header ))
0 commit comments