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:
de61663
)
Add -DPTR_IS_LONG when building with -Duse64bitint on Solaris/i386.
author
Steve Peters
<steve@fisharerojo.org>
Mon, 30 Jan 2006 13:25:04 +0000
(13:25 +0000)
committer
Steve Peters
<steve@fisharerojo.org>
Mon, 30 Jan 2006 13:25:04 +0000
(13:25 +0000)
Otherwise, the build fails in POSIX.
p4raw-id: //depot/perl@27001
hints/solaris_2.sh
patch
|
blob
|
history
diff --git
a/hints/solaris_2.sh
b/hints/solaris_2.sh
index
a06d9e8
..
143b130
100644
(file)
--- a/
hints/solaris_2.sh
+++ b/
hints/solaris_2.sh
@@
-463,6
+463,14
@@
case "$usemorebits" in
;;
esac
+if test `uname -p` = i386; then
+ case "$use64bitint" in
+ "$define"|true|[yY]*)
+ ccflags="$ccflags -DPTR_IS_LONG"
+ ;;
+ esac
+fi
+
if test `uname -p` = sparc -o `uname -p` = i386; then
cat > UU/use64bitint.cbu <<'EOCBU'
# This script UU/use64bitint.cbu will get 'called-back' by Configure