-Oh flag removed from IAR. Optimization set in GUI.

pull/2708/head
Sarah Marsh 2016-10-04 15:07:41 -05:00
parent fd86fef205
commit 51b13c3ca7
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ class IAR(Exporter):
flags['c_flags'].remove('--vla')
if '--no_static_destruction' in flags['c_flags']:
flags['c_flags'].remove('--no_static_destruction')
if '-Oh' in flags['c_flags']:
flags['c_flags'].remove('-Oh')
ctx = {
'name': self.project_name,
'groups': self.iar_groups(self.format_src(srcs)),