diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 04:38:00 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 04:38:00 +0000 |
commit | 0b045cf7e3079e720da52fe4b56c1111c5c9f126 (patch) | |
tree | fda34a055cd15f68de4616295d6d596d3e47e2c1 /libffi/configure.in | |
parent | b1157638a7839a075313f66e37944aad2aedafc7 (diff) | |
download | gcc-0b045cf7e3079e720da52fe4b56c1111c5c9f126.tar.gz |
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/configure.in')
-rw-r--r-- | libffi/configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libffi/configure.in b/libffi/configure.in index 565f9c539a6..5bf418617c9 100644 --- a/libffi/configure.in +++ b/libffi/configure.in @@ -2,6 +2,12 @@ dnl Process this with autoconf to create configure AC_INIT(fficonfig.h.in) AM_CONFIG_HEADER(fficonfig.h) +# This works around the fact that libtool configuration may change LD +# for this particular configuration, but some shells, instead of +# keeping the changes in LD private, export them just because LD is +# exported. +ORIGINAL_LD_FOR_MULTILIBS=$LD + dnl Default to --enable-multilib AC_ARG_ENABLE(multilib, [ --enable-multilib build many library versions (default)], @@ -156,6 +162,7 @@ fi AC_OUTPUT(include/Makefile include/ffi.h Makefile, [ if test -n "$CONFIG_FILES"; then + LD="${ORIGINAL_LD_FOR_MULTILIBS}" ac_file=Makefile . ${libffi_basedir}/../config-ml.in fi ], |