We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f85f77 commit d166c9aCopy full SHA for d166c9a
tools/export/iar.py
@@ -63,7 +63,11 @@ def generate(self):
63
64
project_data['misc'] = self.flags
65
# VLA is enabled via template IccAllowVLA
66
- project_data['misc']['c_flags'].remove("--vla")
+ if "--vla" in project_data['misc']['c_flags']:
67
+ project_data['misc']['c_flags'].remove("--vla")
68
+ # Static destruction enabled via template
69
+ if "--no_static_destruction" in project_data['misc']['cxx_flags']:
70
+ project_data['misc']['cxx_flags'].remove("--no_static_destruction")
71
project_data['misc']['asm_flags'] = list(set(project_data['misc']['asm_flags']))
72
project_data['build_dir'] = os.path.join(project_data['build_dir'], 'iar_arm')
73
self.progen_gen_file(project_data)
0 commit comments