diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -40,6 +40,16 @@ DODEBUG = false | |||
40 | # Do not enable this for production builds... | 40 | # Do not enable this for production builds... |
41 | DODMALLOC = false | 41 | DODMALLOC = 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! | ||
50 | DOLFS = 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... |
45 | CROSS = #powerpc-linux- | 55 | CROSS = #powerpc-linux- |
@@ -63,6 +73,10 @@ OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>& | |||
63 | 73 | ||
64 | WARNINGS = -Wall | 74 | WARNINGS = -Wall |
65 | 75 | ||
76 | ifeq ($(DOLFS),true) | ||
77 | # For large file summit support | ||
78 | CFLAGS+=-D_FILE_OFFSET_BITS=64 | ||
79 | endif | ||
66 | ifeq ($(DODMALLOC),true) | 80 | ifeq ($(DODMALLOC),true) |
67 | # For testing mem leaks with dmalloc | 81 | # For testing mem leaks with dmalloc |
68 | CFLAGS+=-DDMALLOC | 82 | CFLAGS+=-DDMALLOC |