summaryrefslogtreecommitdiff
path: root/ltcf-gcj.sh
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-01-27 19:22:59 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-01-27 19:22:59 +0000
commitc751a76bb8bc9a61890aa04d6c67c0a7419fcb9d (patch)
tree0f6ecd667b9a59da37519ac9dd884701238524ce /ltcf-gcj.sh
parent8b8a5bf645db53e005a2f85733decd905af4af66 (diff)
downloadgdb-c751a76bb8bc9a61890aa04d6c67c0a7419fcb9d.tar.gz
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
Diffstat (limited to 'ltcf-gcj.sh')
-rw-r--r--ltcf-gcj.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ltcf-gcj.sh b/ltcf-gcj.sh
index f82163dc147..2448bd8d808 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*)