mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #2041 from 0xc0170/fix_uvision_vla
uvision4/5 - remove no-vla for exporterspull/2043/head
commit
693a8313c5
|
@ -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