Skip to content

Commit cef31a7

Browse files
authored
Merge pull request #4106 from theotherjimmy/fix-typo-toolchain
Fix a scoping typo in toolchains
2 parents 833a201 + d5ecd7a commit cef31a7

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)