diff --git a/tools/toolchains/gcc.py b/tools/toolchains/gcc.py old mode 100644 new mode 100755 index 3d89c3cd376..18aa2a8c4c4 --- a/tools/toolchains/gcc.py +++ b/tools/toolchains/gcc.py @@ -110,7 +110,7 @@ def __init__(self, target, notify=None, macros=None, build_profile=None, self.flags['ld'] += self.cpu self.ld = [join(tool_path, "arm-none-eabi-gcc")] + self.flags['ld'] - self.sys_libs = ["stdc++", "supc++", "m", "c", "gcc", "nosys"] + self.sys_libs = ["stdc++_nano", "supc++_nano", "m", "c_nano", "gcc", "nosys"] self.preproc = [join(tool_path, "arm-none-eabi-cpp"), "-E", "-P"] self.ar = join(tool_path, "arm-none-eabi-ar")