From: Jarkko Hietaniemi Date: Fri, 11 Feb 2000 00:11:39 +0000 (+0000) Subject: de-fancify the largefiles hints X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7b0dd49d9474e11fc1260d9a64da67456ce10c25;p=p5sagit%2Fp5-mst-13.2.git de-fancify the largefiles hints p4raw-id: //depot/cfgperl@5062 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index 168c4be..048a416 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -337,10 +337,9 @@ EOCBU cat > UU/uselfs.cbu <<'EOCBU' case "$uselargefiles" in $define|true|[yY]*) - ccflags="$ccflags `getconf _CS_XBS5_ILP32_OFFBIG_CFLAGS 2>/dev/null`" - ldflags="$ldflags `getconf _CS_XBS5_ILP32_OFFBIG_LDFLAGS 2>/dev/null`" - - libswanted="$libswanted `getconf _CS_XBS5_ILP32_OFFBIG_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g`" + # there are largefile flags available via getconf(1) + # but we cheat for now. + ccflags="$ccflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" # The strict ANSI mode (-Aa) doesn't like large files. ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @'`