aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 278887f36..6a9c694fa 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,16 @@ DODEBUG = false
40# Do not enable this for production builds... 40# Do not enable this for production builds...
41DODMALLOC = false 41DODMALLOC = false
42 42
43# If you want large file summit support, turn this on.
44# This has no effect if you don't have a kernel with lfs
45# support, and a system with libc-2.1.3 or later.
46# Some of the programs that can benefit from lfs support
47# are dd, gzip, mount, tar, and mkfs_minix.
48# LFS allows you to use the above programs for files
49# larger than 2GB!
50DOLFS = false
51
52
43# If you are running a cross compiler, you may want to set this 53# If you are running a cross compiler, you may want to set this
44# to something more interesting... 54# to something more interesting...
45CROSS = #powerpc-linux- 55CROSS = #powerpc-linux-
@@ -63,6 +73,10 @@ OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&
63 73
64WARNINGS = -Wall 74WARNINGS = -Wall
65 75
76ifeq ($(DOLFS),true)
77 # For large file summit support
78 CFLAGS+=-D_FILE_OFFSET_BITS=64
79endif
66ifeq ($(DODMALLOC),true) 80ifeq ($(DODMALLOC),true)
67 # For testing mem leaks with dmalloc 81 # For testing mem leaks with dmalloc
68 CFLAGS+=-DDMALLOC 82 CFLAGS+=-DDMALLOC