Skip to content

Commit a270249

Browse files
committed
Update remaining default_lib usage in arm compiler
1 parent 0e458bd commit a270249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/toolchains/arm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __init__(self, target, notify=None, macros=None,
6060
raise NotSupportedException(
6161
"this compiler does not support the core %s" % target.core)
6262

63-
if getattr(target, "default_lib", "std") == "small":
63+
if getattr(target, "default_toolchain", "ARM") == "uARM":
6464
if "-DMBED_RTOS_SINGLE_THREAD" not in self.flags['common']:
6565
self.flags['common'].append("-DMBED_RTOS_SINGLE_THREAD")
6666
if "-D__MICROLIB" not in self.flags['common']:
@@ -350,7 +350,7 @@ class ARM_MICRO(ARM):
350350
def __init__(self, target, notify=None, macros=None,
351351
silent=False, extra_verbose=False, build_profile=None,
352352
build_dir=None):
353-
target.default_lib = "small"
353+
target.default_toolchain = "uARM"
354354
ARM.__init__(self, target, notify, macros, build_dir=build_dir,
355355
build_profile=build_profile)
356356
if not set(("ARM", "uARM")).intersection(set(target.supported_toolchains)):

0 commit comments

Comments
 (0)