diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2012-05-16 22:11:18 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2012-05-16 15:11:18 -0700 |
commit | e6d5f8c9c4ea05926bc31b0bbcef08134401d19a (patch) | |
tree | 0007d25b499ac6d83204c313765f73351718b2d9 /libffi/configure | |
parent | 763dc99dd311306c8c140e188f9be4bddb3dbc0c (diff) | |
download | gcc-e6d5f8c9c4ea05926bc31b0bbcef08134401d19a.zip gcc-e6d5f8c9c4ea05926bc31b0bbcef08134401d19a.tar.gz gcc-e6d5f8c9c4ea05926bc31b0bbcef08134401d19a.tar.bz2 |
Regenerate configure files for libtool.m4 change
boehm-gc/
* configure: Regenerated.
gcc/
* configure: Regenerated.
libatomic/
* configure: Regenerated.
libffi/
* configure: Regenerated.
libgfortran/
* configure: Regenerated.
libgomp/
* configure: Regenerated.
libitm/
* configure: Regenerated.
libjava/classpath/
* configure: Regenerated.
libjava/
* configure: Regenerated.
libmudflap/
* configure: Regenerated.
libobjc/
* configure: Regenerated.
libquadmath/
* configure: Regenerated.
libssp/
* configure: Regenerated.
libstdc++-v3/
* configure: Regenerated.
lto-plugin/
* configure: Regenerated.
zlib/
* configure: Regenerated.
From-SVN: r187616
Diffstat (limited to 'libffi/configure')
-rwxr-xr-x | libffi/configure | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libffi/configure b/libffi/configure index 1591495..28ed513 100755 --- a/libffi/configure +++ b/libffi/configure @@ -6282,7 +6282,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) - LD="${LD-ld} -m elf_i386" + case `/usr/bin/file conftest.o` in + *x86-64*) + LD="${LD-ld} -m elf32_x86_64" + ;; + *) + LD="${LD-ld} -m elf_i386" + ;; + esac ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" @@ -10766,7 +10773,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10769 "configure" +#line 10776 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10872,7 +10879,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10875 "configure" +#line 10882 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |