diff options
Diffstat (limited to 'hints/aix.sh')
-rw-r--r-- | hints/aix.sh | 4 |
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 |