projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1fc3e
)
Linux needs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 too
author
Gurusamy Sarathy
<gsar@cpan.org>
Sun, 5 Mar 2000 20:26:57 +0000
(20:26 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sun, 5 Mar 2000 20:26:57 +0000
(20:26 +0000)
(from Matthias Urlichs <smurf@noris.net>)
p4raw-id: //depot/perl@5556
hints/linux.sh
patch
|
blob
|
history
diff --git
a/hints/linux.sh
b/hints/linux.sh
index
82b8703
..
80fda07
100644
(file)
--- 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