Fix a scoping typo in toolchains

pull/4106/head
Jimmy Brisson 2017-04-03 15:43:22 -05:00
parent 067fe9b0e5
commit d5ecd7adf8
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,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'] 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
"-On" in self.flags['common'])):
self.labels['TARGET'].append("DEBUG")