diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-01-27 22:22:59 +0300 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-01-27 22:22:59 +0300 |
commit | 4c16ad64a2b6e8ee1b31c25d3e9e41c875e4e474 (patch) | |
tree | 23e6ffa2d474f98d03eebc8a49fdefb0d675844c /ltcf-c.sh | |
parent | bdfeca609bfd5371677af92cc760a2c9b02e9309 (diff) |
* 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
@@ -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*) |