mirror of https://github.com/ARMmbed/mbed-os.git
-Oh flag removed from IAR. Optimization set in GUI.
parent
fd86fef205
commit
51b13c3ca7
|
@ -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)),
|
||||
|
|
Loading…
Reference in New Issue