diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-01-27 19:12:14 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-01-27 19:12:14 +0000 |
commit | 88a1c0abe9422aadb3c34174218ac83eeabdbf7d (patch) | |
tree | 9f3fefac0196fc34bb9ac31da84ed13783dbcb4e | |
parent | 58245fb122db92684142264f64c36572e547dded (diff) | |
download | gcc-88a1c0abe9422aadb3c34174218ac83eeabdbf7d.zip gcc-88a1c0abe9422aadb3c34174218ac83eeabdbf7d.tar.gz gcc-88a1c0abe9422aadb3c34174218ac83eeabdbf7d.tar.bz2 |
ltcf-c.sh (ld_shlibs): Disable on unknown CPU types.
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
From-SVN: r39297
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ltcf-c.sh | 8 | ||||
-rw-r--r-- | ltcf-cxx.sh | 8 | ||||
-rw-r--r-- | ltcf-gcj.sh | 6 |
4 files changed, 25 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2001-01-27 Alexandre Oliva <aoliva@redhat.com> + + * ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types. + * ltcf-cxx.sh, ltcf-gcj.sh: Likewise. + 2001-01-26 Michael Sokolov <msokolov@ivan.Harhan.ORG> * ltcf-cxx.sh: Use parentheses around eval $ac_compile. @@ -2,7 +2,7 @@ # ltcf-c.sh - Create a C compiler specific configuration # -# Copyright (C) 1996-2000 Free Software Foundation, Inc. +# Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is free software; you can redistribute it and/or modify it @@ -283,6 +283,12 @@ else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec=' ' build_libtool_need_lc=yes + + # We don't want to build shared libraries on unknown CPU types. + case $host_cpu in + powerpc | rs6000) ;; + *) ld_shlibs=no ;; + esac ;; amigaos*) diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index fad6a4a..3469e37 100644 --- a/ltcf-cxx.sh +++ b/ltcf-cxx.sh @@ -2,7 +2,7 @@ # ltcf-cxx.sh - Create a C++ compiler specific configuration # -# Copyright (C) 1996-1999,2000 Free Software Foundation, Inc. +# Copyright (C) 1996-1999, 2000, 2001 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # Original C++ support by:Gary V. Vaughan <gvv@techie.com> @@ -141,6 +141,12 @@ case "$host_os" in # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec=' ' build_libtool_need_lc=yes + + # We don't want to build shared libraries on unknown CPU types. + case $host_cpu in + powerpc | rs6000) ;; + *) ld_shlibs=no ;; + esac ;; chorus*) case "$cc_basename" in diff --git a/ltcf-gcj.sh b/ltcf-gcj.sh index 89a286e..fe96fe7 100644 --- a/ltcf-gcj.sh +++ b/ltcf-gcj.sh @@ -286,6 +286,12 @@ else # According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on always_export_symbols=yes ;; esac + + # We don't want to build shared libraries on unknown CPU types. + case $host_cpu in + powerpc | rs6000) ;; + *) ld_shlibs=no ;; + esac ;; amigaos*) |