diff options
author | Alan Modra <amodra@gcc.gnu.org> | 2013-09-20 19:17:52 +0930 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2013-09-20 19:17:52 +0930 |
commit | 3cbe17f7ded6cbdf171c9e7368b0c391501507f1 (patch) | |
tree | 5d7dac8cc93ea38e65be8eeadaec09c34bce21a3 /libgfortran/configure | |
parent | 1f46d137d00b0e733bb4ccd75a62a9e57f64abdd (diff) | |
download | gcc-3cbe17f7ded6cbdf171c9e7368b0c391501507f1.zip gcc-3cbe17f7ded6cbdf171c9e7368b0c391501507f1.tar.gz gcc-3cbe17f7ded6cbdf171c9e7368b0c391501507f1.tar.bz2 |
libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match.
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
ppc host match. Support little-endian powerpc linux hosts.
Regenerate configure throughout.
From-SVN: r202773
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index 21c2310..a54d6ac 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -8060,7 +8060,7 @@ ia64-*-hpux*) rm -rf conftest* ;; -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext @@ -8085,7 +8085,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) ;; esac ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*linux*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -8104,7 +8107,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*linux*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) @@ -12331,7 +12337,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12334 "configure" +#line 12340 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12437,7 +12443,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12440 "configure" +#line 12446 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |