mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
ld: Replace --rpath with -Wl,--rpath
"--rpath ../bfd/.libs ../bfd/.libs/libbfd.so" isn't a valid compiler command-line option. We should use -Wl,--rpath instead of --rpath. PR ld/21923 * configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath for --disable-static. * configure: Regenerated.
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/21923
|
||||
* configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath
|
||||
for --disable-static.
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-08-08 Romain Geissler <romain.geissler@gmail.com>
|
||||
Alan Modra <amodra@gmail.com>
|
||||
|
||||
|
2
ld/configure
vendored
2
ld/configure
vendored
@ -17298,7 +17298,7 @@ EMULATION_LIBPATH=$all_libpath
|
||||
|
||||
|
||||
if test x${enable_static} = xno; then
|
||||
TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
|
||||
TESTBFDLIB="-Wl,--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
|
||||
else
|
||||
TESTBFDLIB="../bfd/.libs/libbfd.a"
|
||||
fi
|
||||
|
@ -470,7 +470,7 @@ EMULATION_LIBPATH=$all_libpath
|
||||
AC_SUBST(EMULATION_LIBPATH)
|
||||
|
||||
if test x${enable_static} = xno; then
|
||||
TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
|
||||
TESTBFDLIB="-Wl,--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
|
||||
else
|
||||
TESTBFDLIB="../bfd/.libs/libbfd.a"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user