summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-02 14:52:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-02 14:52:40 +0000
commit6e58d65cdee942efacbebb436841cff48d4c4061 (patch)
treeeb6a19539f37a865307503d47d2ea84fc45e1be3 /hints
parentbd4fc1f042e08965c82768f3b6911e13617c4bb2 (diff)
downloadperl-6e58d65cdee942efacbebb436841cff48d4c4061.tar.gz
AIX long long probing requires LL suffix for
the ll constant. The suffix doesn't seem to bother other ll platforms. p4raw-id: //depot/cfgperl@3891
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 22a02d29da..0f9553a5c7 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -185,6 +185,10 @@ EOM
esac
ccflags="$ccflags `getconf XBS5_LPBIG_OFFBIG_CFLAGS 2>/dev/null`"
ccflags="$ccflags -DUSE_LONG_LONG"
+ case "$cc" in
+ *c89) ccflags="$ccflags -qlonglong" ;;
+ # Plus AIX also requires LL prefixes for all long long constants.
+ esac
ldflags="$ldflags `getconf XBS5_LPBIG_OFFBIG_LDFLAGS 2>/dev/null`"
# _Somehow_ in AIX 4.3.1.0 the above getconf call manages to