summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-05-16 20:55:41 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-16 15:56:42 +0000
commita2147dfeb7f10f2a9fc88c101af1f63b2ab8f9f9 (patch)
tree05339c6ac910658372a22047b5aa155447974ac7 /hints
parent9972c7afa298c7672cee8abcd659c49c40cda99b (diff)
downloadperl-a2147dfeb7f10f2a9fc88c101af1f63b2ab8f9f9.tar.gz
Re: AIX warning in hints regarding gcc
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020516185212.667C.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@16634
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh32
1 files changed, 12 insertions, 20 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index da7a45619b..e6e97a9edf 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -354,26 +354,18 @@ libswanted_uselargefiles="`getconf XBS5_ILP32_OFFBIG_LIBS 2>/dev/null|sed -e 's@
esac
case "$gccversion" in
'') ;;
- *)
- cat >&4 <<EOM
-
-*** Warning: gcc in AIX might not work with the largefile support of Perl
-*** (default since 5.6.0), this combination hasn't been tested.
-*** I will try, though.
-
-EOM
- # Remove xlc-spefific -qflags.
- ccflags="`echo $ccflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`"
- ldflags="`echo $ldflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`"
- # Move xld-spefific -bflags.
- ccflags="`echo $ccflags | sed -e 's@ -b@ -Wl,-b@g'`"
- ldflags="`echo ' '$ldflags | sed -e 's@ -b@ -Wl,-b@g'`"
- lddlflags="`echo ' '$lddlflags | sed -e 's@ -b@ -Wl,-b@g'`"
- ld='gcc'
- echo >&4 "(using ccflags $ccflags)"
- echo >&4 "(using ldflags $ldflags)"
- echo >&4 "(using lddlflags $lddlflags)"
- ;;
+ *) # Remove xlc-spefific -qflags.
+ ccflags="`echo $ccflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`"
+ ldflags="`echo $ldflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`"
+ # Move xld-spefific -bflags.
+ ccflags="`echo $ccflags | sed -e 's@ -b@ -Wl,-b@g'`"
+ ldflags="`echo ' '$ldflags | sed -e 's@ -b@ -Wl,-b@g'`"
+ lddlflags="`echo ' '$lddlflags | sed -e 's@ -b@ -Wl,-b@g'`"
+ ld='gcc'
+ echo >&4 "(using ccflags $ccflags)"
+ echo >&4 "(using ldflags $ldflags)"
+ echo >&4 "(using lddlflags $lddlflags)"
+ ;;
esac
;;
esac