summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/solaris_2.sh8
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