mirror of https://github.com/ARMmbed/mbed-os.git
Fix DEBUG target keyword for GCC_ARM
Fixes mbed-cli#402 bug. -g flag was changed to g3, thus this caused a regression in producing TARGET_DEBUG for GCC_ARM.pull/3373/head
parent
507956d658
commit
9a61ef0368
|
@ -472,7 +472,7 @@ class mbedToolchain:
|
|||
|
||||
# This is a policy decision and it should /really/ be in the config system
|
||||
# ATM it's here for backward compatibility
|
||||
if (("-g" in self.flags['common'] and
|
||||
if ((("-g" in self.flags['common'] or "-g3" in self.flags['common']) and
|
||||
"-O0") in self.flags['common'] or
|
||||
("-r" in self.flags['common'] and
|
||||
"-On" in self.flags['common'])):
|
||||
|
|
Loading…
Reference in New Issue