summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-15 19:41:43 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-15 19:41:43 +0000
commit2bafb3d098c180c211f185191adb01f37371b721 (patch)
tree471cf86784ceb7e47b7d754097b6e4b342c9fb06 /hints/hpux.sh
parent0d4213c39605fa04aafc0c3a24e3ad430daab14e (diff)
downloadperl-2bafb3d098c180c211f185191adb01f37371b721.tar.gz
The UINT32_MAX_BROKEN is still needed for pre-gcc-3
in HP-UX (from H.Merijn Brand) p4raw-id: //depot/perl@15247
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 77a6463df9..ebe2a215a4 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -73,6 +73,11 @@ case `$cc -v 2>&1`"" in
# Done too late in Configure if hinted
gccversion=`$cc --version`
fi
+ case "$gccversion in
+ [012]*) # HP-UX and gcc-2.* break UINT32_MAX :-(
+ ccflags="$ccflags -DUINT32_MAX_BROKEN"
+ ;;
+ esac
case "`getconf KERNEL_BITS 2>/dev/null`" in
*64*)
echo "main(){}">try.c