Skip to content

Commit d5ecd7a

Browse files
committed
Fix a scoping typo in toolchains
1 parent 067fe9b commit d5ecd7a

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
@@ -474,7 +474,7 @@ def get_labels(self):
474474
# This is a policy decision and it should /really/ be in the config system
475475
# ATM it's here for backward compatibility
476476
if ((("-g" in self.flags['common'] or "-g3" in self.flags['common']) and
477-
"-O0") in self.flags['common'] or
477+
"-O0" in self.flags['common']) or
478478
("-r" in self.flags['common'] and
479479
"-On" in self.flags['common'])):
480480
self.labels['TARGET'].append("DEBUG")

0 commit comments

Comments
 (0)