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 fd86fef commit 51b13c3Copy full SHA for 51b13c3
tools/export/iar/__init__.py
@@ -101,6 +101,8 @@ def generate(self):
101
flags['c_flags'].remove('--vla')
102
if '--no_static_destruction' in flags['c_flags']:
103
flags['c_flags'].remove('--no_static_destruction')
104
+ if '-Oh' in flags['c_flags']:
105
+ flags['c_flags'].remove('-Oh')
106
ctx = {
107
'name': self.project_name,
108
'groups': self.iar_groups(self.format_src(srcs)),
0 commit comments