summaryrefslogtreecommitdiff
path: root/ltcf-gcj.sh
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-27 19:12:14 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-27 19:12:14 +0000
commit21037ec8e2afab0ac8f92ececbf364a204e3b039 (patch)
tree9f3fefac0196fc34bb9ac31da84ed13783dbcb4e /ltcf-gcj.sh
parentcb2e4338d269d2fec4e6608d171f569a1cc5cf95 (diff)
downloadgcc-21037ec8e2afab0ac8f92ececbf364a204e3b039.tar.gz
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39297 138bc75d-0d04-0410-961f-82ee72b054a4
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 89a286ebf0e..fe96fe704d9 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*)