Skip to content

Removed --no_static_destruction from IAR IDE flags #2800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/export/iar.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ def generate(self):

project_data['misc'] = self.flags
# VLA is enabled via template IccAllowVLA
project_data['misc']['c_flags'].remove("--vla")
if "--vla" in project_data['misc']['c_flags']:
project_data['misc']['c_flags'].remove("--vla")
# Static destruction enabled via template
if "--no_static_destruction" in project_data['misc']['cxx_flags']:
project_data['misc']['cxx_flags'].remove("--no_static_destruction")
project_data['misc']['asm_flags'] = list(set(project_data['misc']['asm_flags']))
project_data['build_dir'] = os.path.join(project_data['build_dir'], 'iar_arm')
self.progen_gen_file(project_data)
Expand Down