Skip to content

Commit

Permalink
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
Browse files Browse the repository at this point in the history
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39297 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
aoliva committed Jan 27, 2001
1 parent cb2e433 commit 21037ec
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>

* ltcf-cxx.sh: Use parentheses around eval $ac_compile.
Expand Down
8 changes: 7 additions & 1 deletion ltcf-c.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -283,6 +283,12 @@ else
# Exported symbols can be pulled into shared objects from archives
whole_archive_flag_spec=' '
build_libtool_need_lc=yes

# We don't want to build shared libraries on unknown CPU types.
case $host_cpu in
powerpc | rs6000) ;;
*) ld_shlibs=no ;;
esac
;;

amigaos*)
Expand Down
8 changes: 7 additions & 1 deletion ltcf-cxx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -141,6 +141,12 @@ case "$host_os" in
# Exported symbols can be pulled into shared objects from archives
whole_archive_flag_spec=' '
build_libtool_need_lc=yes

# We don't want to build shared libraries on unknown CPU types.
case $host_cpu in
powerpc | rs6000) ;;
*) ld_shlibs=no ;;
esac
;;
chorus*)
case "$cc_basename" in
Expand Down
6 changes: 6 additions & 0 deletions ltcf-gcj.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
Expand Down

0 comments on commit 21037ec

Please sign in to comment.