* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
This commit is contained in:
parent
e6e0bfabf4
commit
7487e48599
4 changed files with 25 additions and 2 deletions
|
@ -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>
|
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
|
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# ltcf-c.sh - Create a C compiler specific configuration
|
# 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
|
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||||
#
|
#
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# 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
|
# According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on
|
||||||
always_export_symbols=yes ;;
|
always_export_symbols=yes ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# We don't want to build shared libraries on unknown CPU types.
|
||||||
|
case $host_cpu in
|
||||||
|
powerpc | rs6000) ;;
|
||||||
|
*) ld_shlibs=no ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
amigaos*)
|
amigaos*)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# ltcf-cxx.sh - Create a C++ compiler specific configuration
|
# 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
|
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||||
#
|
#
|
||||||
# Original C++ support by:Gary V. Vaughan <gvv@techie.com>
|
# Original C++ support by:Gary V. Vaughan <gvv@techie.com>
|
||||||
|
@ -133,6 +133,12 @@ case "$host_os" in
|
||||||
aix3*)
|
aix3*)
|
||||||
# FIXME: insert proper C++ library support
|
# FIXME: insert proper C++ library support
|
||||||
ld_shlibs=no
|
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*)
|
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'
|
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'
|
||||||
|
|
|
@ -286,6 +286,12 @@ else
|
||||||
# According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on
|
# According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on
|
||||||
always_export_symbols=yes ;;
|
always_export_symbols=yes ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# We don't want to build shared libraries on unknown CPU types.
|
||||||
|
case $host_cpu in
|
||||||
|
powerpc | rs6000) ;;
|
||||||
|
*) ld_shlibs=no ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
amigaos*)
|
amigaos*)
|
||||||
|
|
Loading…
Reference in a new issue