Remove static destruction flag

pull/2708/head
Sarah Marsh 2016-09-23 14:16:51 -05:00
parent fa148578d2
commit 4bc70c0c5f
1 changed files with 4 additions and 1 deletions

View File

@ -97,7 +97,10 @@ class IAR(Exporter):
flags['c_flags'] = list(set(flags['common_flags']
+ flags['c_flags']
+ flags['cxx_flags']))
flags['c_flags'].remove('--vla')
if '--vla' in flags['c_flags']:
flags['c_flags'].remove('--vla')
if '--no_static_destruction' in flags['c_flags']:
flags['c_flags'].remove('--no_static_destruction')
ctx = {
'name': self.project_name,
'groups': self.iar_groups(self.format_src(srcs)),