summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-11 00:11:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-11 00:11:39 +0000
commit7b0dd49d9474e11fc1260d9a64da67456ce10c25 (patch)
tree78312cdf10769f1cf569f6105aaaf0c9479f466f /hints/hpux.sh
parent6e5513118382197e263ed0513dd9440d50761ffd (diff)
downloadperl-7b0dd49d9474e11fc1260d9a64da67456ce10c25.tar.gz
de-fancify the largefiles hints
p4raw-id: //depot/cfgperl@5062
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 168c4bedcd..048a416c5a 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 @'`