Skip to content

Commit c9fc35f

Browse files
committed
Merge pull request ARMmbed#49 from dinau/link_issue
Fixed: [GCC_ARM : LPC1768] Issue ignored the linker option for _print_fl...
2 parents e23be8a + 2b57e64 commit c9fc35f

File tree

1 file changed

+1
-1
lines changed
  • workspace_tools/toolchains

1 file changed

+1
-1
lines changed

workspace_tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __init__(self, target, options=None, notify=None):
140140

141141
# Use latest gcc nanolib
142142
self.ld.append("--specs=nano.specs")
143-
if target in ["LPC1768"]:
143+
if target.name in ["LPC1768"]:
144144
self.ld.extend(["-u", "_printf_float", "-u", "_scanf_float"])
145145

146146
self.sys_libs.append("nosys")

0 commit comments

Comments
 (0)