Skip to content

Commit 986ed4f

Browse files
authored
Merge pull request #2043 from 0xc0170/fix_uvision_libpath
armcc - remove libpath from ld flags
2 parents a84b7e7 + 29f806b commit 986ed4f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/toolchains/arm.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,6 @@ class ARM_STD(ARM):
224224
def __init__(self, target, options=None, notify=None, macros=None, silent=False, extra_verbose=False):
225225
ARM.__init__(self, target, options, notify, macros, silent, extra_verbose=extra_verbose)
226226

227-
# Extend flags
228-
self.flags['ld'].extend(["--libpath \"%s\"" % ARM_LIB])
229-
230227
# Run-time values
231228
self.ld.extend(["--libpath \"%s\"" % ARM_LIB])
232229

@@ -269,7 +266,5 @@ def __init__(self, target, options=None, notify=None, macros=None, silent=False,
269266
elif target.core in ["Cortex-M0", "Cortex-M0+"]:
270267
self.sys_libs.extend([join(ARM_CPPLIB, lib+".l") for lib in ["cpp_ps", "cpprt_p"]])
271268
else:
272-
# Run-time values
273-
self.flags['ld'].extend(["--libpath \"%s\"" % ARM_LIB])
274269
# Run-time values
275270
self.ld.extend(["--libpath \"%s\"" % ARM_LIB])

0 commit comments

Comments
 (0)