diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-05 20:26:57 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-05 20:26:57 +0000 |
commit | 7f2eea8ea438da30c9033cb5884dd3c1667ef8dc (patch) | |
tree | 4a8cdd5a9d1cebc4519237ce522f9034b8f56b8f /hints | |
parent | 1c1fc3ea10284b28de560550fae130e9d453e5c1 (diff) | |
download | perl-7f2eea8ea438da30c9033cb5884dd3c1667ef8dc.tar.gz |
Linux needs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 too
(from Matthias Urlichs <smurf@noris.net>)
p4raw-id: //depot/perl@5556
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index 82b8703232..80fda07591 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -276,3 +276,13 @@ $define|true|[yY]*) ;; esac EOCBU + +cat > UU/uselargefiles.cbu <<'EOCBU' +# This script UU/uselargefiles.cbu will get 'called-back' by Configure +# after it has prompted the user for whether to use large files. +case "$uselargefiles" in +''|$define|true|[yY]*) + ccflags="$ccflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; +esac +EOCBU |