mirror of https://github.com/ARMmbed/mbed-os.git
uvision exporter - fix cxx flag - remove ld flags
This was a bug, as ld flags should not be part of cxx flags. They result as some options not recognized.pull/1912/head
parent
a92bf1c3b8
commit
0b2c37a17c
|
@ -71,7 +71,7 @@ class Uvision4(Exporter):
|
|||
project_data['tool_specific']['uvision']['misc']['c_flags'] = list(set(self.toolchain.flags['common'] + self.toolchain.flags['c']))
|
||||
# not compatible with c99 flag set in the template
|
||||
project_data['tool_specific']['uvision']['misc']['c_flags'].remove("--c99")
|
||||
project_data['tool_specific']['uvision']['misc']['cxx_flags'] = list(set(self.toolchain.flags['common'] + self.toolchain.flags['ld']))
|
||||
project_data['tool_specific']['uvision']['misc']['cxx_flags'] = list(set(self.toolchain.flags['common']))
|
||||
project_data['tool_specific']['uvision']['misc']['ld_flags'] = self.toolchain.flags['ld']
|
||||
|
||||
i = 0
|
||||
|
|
|
@ -71,7 +71,7 @@ class Uvision5(Exporter):
|
|||
project_data['tool_specific']['uvision5']['misc']['c_flags'] = list(set(self.toolchain.flags['common'] + self.toolchain.flags['c']))
|
||||
# not compatible with c99 flag set in the template
|
||||
project_data['tool_specific']['uvision5']['misc']['c_flags'].remove("--c99")
|
||||
project_data['tool_specific']['uvision5']['misc']['cxx_flags'] = list(set(self.toolchain.flags['common'] + self.toolchain.flags['ld']))
|
||||
project_data['tool_specific']['uvision5']['misc']['cxx_flags'] = list(set(self.toolchain.flags['common']))
|
||||
project_data['tool_specific']['uvision5']['misc']['ld_flags'] = self.toolchain.flags['ld']
|
||||
|
||||
i = 0
|
||||
|
|
Loading…
Reference in New Issue