projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d4213c
)
The UINT32_MAX_BROKEN is still needed for pre-gcc-3
author
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 15 Mar 2002 19:41:43 +0000
(19:41 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 15 Mar 2002 19:41:43 +0000
(19:41 +0000)
in HP-UX (from H.Merijn Brand)
p4raw-id: //depot/perl@15247
hints/hpux.sh
patch
|
blob
|
history
diff --git
a/hints/hpux.sh
b/hints/hpux.sh
index
77a6463
..
ebe2a21
100644
(file)
--- 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