diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-01-27 19:22:59 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-01-27 19:22:59 +0000 |
commit | 7487e485993880d2ec6f6e233b9889f28c904973 (patch) | |
tree | 6966c12c9463649fa948048dca09b1a89b339833 /ltcf-c.sh | |
parent | * ui-out.c (do_list_end): New function. (diff) | |
download | binutils-gdb-7487e485993880d2ec6f6e233b9889f28c904973.tar.gz binutils-gdb-7487e485993880d2ec6f6e233b9889f28c904973.tar.bz2 binutils-gdb-7487e485993880d2ec6f6e233b9889f28c904973.zip |
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
Diffstat (limited to 'ltcf-c.sh')
-rw-r--r-- | ltcf-c.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ltcf-c.sh b/ltcf-c.sh index e57abb1cb2b..2e62af76241 100644 --- a/ltcf-c.sh +++ b/ltcf-c.sh @@ -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 # 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*) |