Merge pull request #2043 from 0xc0170/fix_uvision_libpath

armcc - remove libpath from ld flags
pull/2046/head
Bogdan Marinescu 2016-06-28 16:36:33 +03:00 committed by GitHub
commit 986ed4f22c
1 changed files with 0 additions and 5 deletions

View File

@ -224,9 +224,6 @@ class ARM_STD(ARM):
def __init__(self, target, options=None, notify=None, macros=None, silent=False, extra_verbose=False):
ARM.__init__(self, target, options, notify, macros, silent, extra_verbose=extra_verbose)
# Extend flags
self.flags['ld'].extend(["--libpath \"%s\"" % ARM_LIB])
# Run-time values
self.ld.extend(["--libpath \"%s\"" % ARM_LIB])
@ -269,7 +266,5 @@ class ARM_MICRO(ARM):
elif target.core in ["Cortex-M0", "Cortex-M0+"]:
self.sys_libs.extend([join(ARM_CPPLIB, lib+".l") for lib in ["cpp_ps", "cpprt_p"]])
else:
# Run-time values
self.flags['ld'].extend(["--libpath \"%s\"" % ARM_LIB])
# Run-time values
self.ld.extend(["--libpath \"%s\"" % ARM_LIB])