about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-11-04 16:21:11 -0800
committerEric Wong <normalperson@yhbt.net>2008-11-04 16:21:11 -0800
commit5feccbbc43ecb3edc60710583b741350a7763d4e (patch)
treee77740621f008d695c5be490ba262b486316cd9d
parente69018abd4d720324992d4fe276da8405182c108 (diff)
downloadpcu-5feccbbc43ecb3edc60710583b741350a7763d4e.tar.gz
Define macros to enable 64-bit file support on 32-bit
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4acac90..9718fcc 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 all::
 
 # overridable from command-line
-CFLAGS = -g -O2 -Wall
+CFLAGS = -g -O2 -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 LDFLAGS = -Wl,-O1
 
 fadvise.c: compat-util.h