mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 05:42:42 +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>
|
2017-08-08 Romain Geissler <romain.geissler@gmail.com>
|
||||||
Alan Modra <amodra@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
|
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
|
else
|
||||||
TESTBFDLIB="../bfd/.libs/libbfd.a"
|
TESTBFDLIB="../bfd/.libs/libbfd.a"
|
||||||
fi
|
fi
|
||||||
|
@ -470,7 +470,7 @@ EMULATION_LIBPATH=$all_libpath
|
|||||||
AC_SUBST(EMULATION_LIBPATH)
|
AC_SUBST(EMULATION_LIBPATH)
|
||||||
|
|
||||||
if test x${enable_static} = xno; then
|
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
|
else
|
||||||
TESTBFDLIB="../bfd/.libs/libbfd.a"
|
TESTBFDLIB="../bfd/.libs/libbfd.a"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user