From: Jarkko Hietaniemi Date: Sun, 1 Aug 1999 10:55:44 +0000 (+0000) Subject: Enable Solaris largefiles support only if -Duse64bits is used. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5f73ced3679bd08531d09afc3d37779118013522;p=p5sagit%2Fp5-mst-13.2.git Enable Solaris largefiles support only if -Duse64bits is used. (Effectively removes #3311). p4raw-id: //depot/cfgperl@3844 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 236db7d..9b4f5e2 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. ;;