diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-01-30 13:25:04 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-01-30 13:25:04 +0000 |
commit | 25909821eb3e0c6b8049a206da47b68b90d7e46a (patch) | |
tree | 7e527a0c6e48aabb690e461c6678ca4710f4535e /hints | |
parent | de61663159118b735969bec9539d9251323990fa (diff) | |
download | perl-25909821eb3e0c6b8049a206da47b68b90d7e46a.tar.gz |
Add -DPTR_IS_LONG when building with -Duse64bitint on Solaris/i386.
Otherwise, the build fails in POSIX.
p4raw-id: //depot/perl@27001
Diffstat (limited to 'hints')
-rw-r--r-- | hints/solaris_2.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index a06d9e802a..143b1305c5 100644 --- 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 |