summaryrefslogtreecommitdiff
path: root/ltcf-cxx.sh
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2001-01-25 19:11:34 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2001-01-25 14:11:34 -0500
commit0ef8b11bf2d742a69b1612012c91b3f6f28c9e69 (patch)
tree2a6aea4468766692c04b8280fce3b5c547989c8e /ltcf-cxx.sh
parentf07f528411791ed74b3f7beae8419479196bc01b (diff)
- Add AIX 5 support following AIX 4.
From-SVN: r39270
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r--ltcf-cxx.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index 9c7782f2791..4b8913b14e5 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -116,7 +116,7 @@ fi
# In general, the C++ compiler should always link C++ objects.
case $target in
-*aix3* | *aix4*)
+*aix3* | *aix4* | *aix5*)
# AIX just has to be different, doesn't it? :-\
LD=makeC++SharedLib_r
LDFLAGS="$LDFLAGS -p 0"
@@ -134,7 +134,7 @@ case "$host_os" in
# FIXME: insert proper C++ library support
ld_shlibs=no
;;
- aix4*)
+ aix4* | aix5*)
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'
# -bexpall does not export symbols beginning with underscore (_)
always_export_symbols=yes
@@ -621,7 +621,7 @@ if test "$with_gcc" = yes; then
esac
else
case "$host_os" in
- aix4*)
+ aix4* | aix5*)
# All AIX code is PIC.
;;
chorus*)