Skip to content

Commit 2257d4b

Browse files
authored
Merge pull request #3373 from 0xc0170/fix_#402
Fix DEBUG target keyword for GCC_ARM
2 parents 507956d + 9a61ef0 commit 2257d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def get_labels(self):
472472

473473
# This is a policy decision and it should /really/ be in the config system
474474
# ATM it's here for backward compatibility
475-
if (("-g" in self.flags['common'] and
475+
if ((("-g" in self.flags['common'] or "-g3" in self.flags['common']) and
476476
"-O0") in self.flags['common'] or
477477
("-r" in self.flags['common'] and
478478
"-On" in self.flags['common'])):

0 commit comments

Comments
 (0)