mirror of https://github.com/ARMmbed/mbed-os.git
uvision4/5 - remove no-vla for exporters
IDE has C/C++ tab, thus this only cxx flag would be applied for C files.pull/2041/head
parent
e1890c9284
commit
f44ff94fc3
|
@ -80,6 +80,8 @@ class Uvision4(Exporter):
|
|||
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("-I \""+ARM_INC+"\"")
|
||||
# cpp is not required as it's implicit for cpp files
|
||||
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("--cpp")
|
||||
# we want no-vla for only cxx, but it's also applied for C in IDE, thus we remove it
|
||||
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("--no_vla")
|
||||
project_data['tool_specific']['uvision']['misc']['ld_flags'] = self.progen_flags['ld_flags']
|
||||
|
||||
i = 0
|
||||
|
|
|
@ -80,6 +80,8 @@ class Uvision5(Exporter):
|
|||
project_data['tool_specific']['uvision5']['misc']['c_flags'].remove("--c99")
|
||||
# cpp is not required as it's implicit for cpp files
|
||||
project_data['tool_specific']['uvision5']['misc']['c_flags'].remove("--cpp")
|
||||
# we want no-vla for only cxx, but it's also applied for C in IDE, thus we remove it
|
||||
project_data['tool_specific']['uvision5']['misc']['c_flags'].remove("--no_vla")
|
||||
project_data['tool_specific']['uvision5']['misc']['ld_flags'] = self.progen_flags['ld_flags']
|
||||
|
||||
i = 0
|
||||
|
|
Loading…
Reference in New Issue