diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-09-21 02:23:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-09-21 02:23:30 +0000 |
commit | 8a2e56c5dfc41f6946e36234eef4df559286db05 (patch) | |
tree | 23a5f54bcbf8aea8f08ae85f8397b7add91bf79f /Makefile | |
parent | 350b3f9236b29514f3755af2b4b2957475abf829 (diff) | |
download | busybox-w32-8a2e56c5dfc41f6946e36234eef4df559286db05.tar.gz busybox-w32-8a2e56c5dfc41f6946e36234eef4df559286db05.tar.bz2 busybox-w32-8a2e56c5dfc41f6946e36234eef4df559286db05.zip |
Large file >2Gib support.
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 |