mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #2043 from 0xc0170/fix_uvision_libpath
armcc - remove libpath from ld flagspull/2046/head
commit
986ed4f22c
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue