mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #4106 from theotherjimmy/fix-typo-toolchain
Fix a scoping typo in toolchainspull/4148/head
commit
cef31a7fa6
|
@ -474,7 +474,7 @@ class mbedToolchain:
|
||||||
# This is a policy decision and it should /really/ be in the config system
|
# This is a policy decision and it should /really/ be in the config system
|
||||||
# ATM it's here for backward compatibility
|
# ATM it's here for backward compatibility
|
||||||
if ((("-g" in self.flags['common'] or "-g3" in self.flags['common']) and
|
if ((("-g" in self.flags['common'] or "-g3" in self.flags['common']) and
|
||||||
"-O0") in self.flags['common'] or
|
"-O0" in self.flags['common']) or
|
||||||
("-r" in self.flags['common'] and
|
("-r" in self.flags['common'] and
|
||||||
"-On" in self.flags['common'])):
|
"-On" in self.flags['common'])):
|
||||||
self.labels['TARGET'].append("DEBUG")
|
self.labels['TARGET'].append("DEBUG")
|
||||||
|
|
Loading…
Reference in New Issue