summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-01 10:55:44 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-01 10:55:44 +0000
commit5f73ced3679bd08531d09afc3d37779118013522 (patch)
treeb953699b4f6e0f9f0982d6e8c491964d7499b740 /hints
parent893fe2c21345ec73429b2371c33adad8d22fc7f2 (diff)
downloadperl-5f73ced3679bd08531d09afc3d37779118013522.tar.gz
Enable Solaris largefiles support only if -Duse64bits is used.
(Effectively removes #3311). p4raw-id: //depot/cfgperl@3844
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 236db7d1b5..9b4f5e21fa 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -285,19 +285,6 @@ rm -f core
# XXX
EOSH
-# Damon.Atkins@nabaus.com.au 19-Mar-1999
-# Large Files Support
-if [ -x /usr/bin/getconf ] ; then
- ccflags="$ccflags `/usr/bin/getconf LFS_CFLAGS`"
- [ "X${ccflags}" = "X " ] && ccflags=''
- ldflags="$ldflags `/usr/bin/getconf LFS_LDFLAGS`"
- [ "X${ldflags}" = "X " ] && ldflags=''
- libswanted="$libswanted `/usr/bin/getconf LFS_LIBS`"
- [ "X${libswanted}" = "X " ] && libswanted=''
- lintflags="$lintflags `/usr/bin/getconf LFS_LINTFLAGS`"
- [ "X${lintflags}" = "X " ] && lintflags=''
-fi
-
# This script UU/usethreads.cbu will get 'called-back' by Configure
# after it has prompted the user for whether to use threads.
cat > UU/usethreads.cbu <<'EOCBU'
@@ -360,9 +347,10 @@ EOM
exit 1
;;
esac
- ccflags="$ccflags `getconf LFS_CFLAGS` -DUSE_LONG_LONG"
+ ccflags="$ccflags `getconf LFS_CFLAGS`"
ldflags="$ldflags `getconf LFS_LDFLAGS`"
libswanted="$libswanted `getconf LFS_LIBS`"
+ ccflags="$ccflags -DUSE_LONG_LONG"
# When a 64-bit cc becomes available $archname64
# may need setting so that $archname gets it attached.
;;