From 0957b95fb4b2fb395acfc69b10486dcf9f85b5f1 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sat, 27 Jan 2001 19:12:14 +0000 Subject: * ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types. * ltcf-cxx.sh, ltcf-gcj.sh: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@39297 138bc75d-0d04-0410-961f-82ee72b054a4 --- ltcf-cxx.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ltcf-cxx.sh') diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index fad6a4ae552..3469e37875b 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 , 1996 # # Original C++ support by:Gary V. Vaughan @@ -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 -- cgit v1.2.3