* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 27 Jan 2001 19:22:59 +0000 (19:22 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 27 Jan 2001 19:22:59 +0000 (19:22 +0000)
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.

ChangeLog
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh

index f600efde0fe8e821dec522022bd8424bb60e0d99..2799a47a939c044090ae477bd8d9c3eb1021f30e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
+       * ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
+
 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
 
        * ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
index e57abb1cb2b243ee47c7d4b8b787d3ca36285dfd..2e62af7624185a3d15a356dd1c1e5ef9ebea044b 100644 (file)
--- 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*)
index cefa0085624a6868760c38c6a04d7032a9e50a2b..eca44c068f9bfa763505d59910e7d3f5c88d61c6 100644 (file)
@@ -2,7 +2,7 @@
 
 # ltcf-cxx.sh - Create a C++ compiler specific configuration
 #
-# Copyright (C) 1996-1999,2000 Free Software Foundation, Inc.
+# Copyright (C) 1996-1999, 2000, 2001 Free Software Foundation, Inc.
 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 #
 # Original C++ support by:Gary V. Vaughan <gvv@techie.com>
@@ -133,6 +133,12 @@ case "$host_os" in
   aix3*)
     # FIXME: insert proper C++ library support
     ld_shlibs=no
+
+    # We don't want to build shared libraries on unknown CPU types.
+    case $host_cpu in
+    powerpc | rs6000) ;;
+    *) ld_shlibs=no ;;
+    esac
     ;;
   aix4*)
     archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
index f82163dc1472de4a70a035808a2858ef404ebdfe..2448bd8d808a527ff4b0704a09faaca95d44752f 100644 (file)
@@ -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*)
This page took 0.029764 seconds and 4 git commands to generate.