mirror of https://github.com/ARMmbed/mbed-os.git
iar - remove --vla flag for exporters
The template file already enables VLA as it's for C only. This --vla flag causes conflicts with --cpp flag that is enabled implicitly if C++ is enabled.pull/2045/head
parent
693a8313c5
commit
d2a216f3a0
|
@ -72,6 +72,8 @@ class IAREmbeddedWorkbench(Exporter):
|
|||
project_data['tool_specific']['iar'].setdefault("misc", {})
|
||||
project_data['tool_specific']['iar'].update(tool_specific['iar'])
|
||||
project_data['tool_specific']['iar']['misc'].update(self.progen_flags)
|
||||
# VLA is enabled via template IccAllowVLA
|
||||
project_data['tool_specific']['iar']['misc']['c_flags'].remove("--vla")
|
||||
project_data['common']['build_dir'] = os.path.join(project_data['common']['build_dir'], 'iar_arm')
|
||||
self.progen_gen_file('iar_arm', project_data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue