From 4c16ad64a2b6e8ee1b31c25d3e9e41c875e4e474 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sat, 27 Jan 2001 19:22:59 +0000 Subject: * ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types. * ltcf-cxx.sh, ltcf-gcj.sh: Likewise. --- ltcf-gcj.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ltcf-gcj.sh') diff --git a/ltcf-gcj.sh b/ltcf-gcj.sh index f82163dc1..2448bd8d8 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*) -- cgit v1.2.3