diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-07-22 22:15:21 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-07-22 22:15:21 +0000 |
commit | e5272074c9bf554fa9f24a97899de584b1c127c2 (patch) | |
tree | b2cb25c7af226c471111fd04f14e7502f41b1155 /Rules.mak | |
parent | 20c9f1e5e7290c7d22bdf4217e66b9d75e9e73df (diff) | |
download | busybox-w32-e5272074c9bf554fa9f24a97899de584b1c127c2.tar.gz busybox-w32-e5272074c9bf554fa9f24a97899de584b1c127c2.tar.bz2 busybox-w32-e5272074c9bf554fa9f24a97899de584b1c127c2.zip |
eliminate DOSTATIC, DODEBUG, etc and name them sensibly
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -140,20 +140,20 @@ OPTIMIZATIONS=$(OPTIMIZATION) -fomit-frame-pointer | |||
140 | # prone to casual user adjustment. | 140 | # prone to casual user adjustment. |
141 | # | 141 | # |
142 | 142 | ||
143 | ifeq ($(strip $(DOLFS)),y) | 143 | ifeq ($(strip $(CONFIG_LFS)),y) |
144 | # For large file summit support | 144 | # For large file summit support |
145 | CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 | 145 | CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 |
146 | endif | 146 | endif |
147 | ifeq ($(strip $(DODMALLOC)),y) | 147 | ifeq ($(strip $(CONFIG_DMALLOC)),y) |
148 | # For testing mem leaks with dmalloc | 148 | # For testing mem leaks with dmalloc |
149 | CFLAGS+=-DDMALLOC | 149 | CFLAGS+=-DDMALLOC |
150 | LIBRARIES:=-ldmalloc | 150 | LIBRARIES:=-ldmalloc |
151 | else | 151 | else |
152 | ifeq ($(strip $(DOEFENCE)),y) | 152 | ifeq ($(strip $(CONFIG_EFENCE)),y) |
153 | LIBRARIES:=-lefence | 153 | LIBRARIES:=-lefence |
154 | endif | 154 | endif |
155 | endif | 155 | endif |
156 | ifeq ($(strip $(DODEBUG)),y) | 156 | ifeq ($(strip $(CONFIG_DEBUG)),y) |
157 | CFLAGS +=$(WARNINGS) -g -D_GNU_SOURCE | 157 | CFLAGS +=$(WARNINGS) -g -D_GNU_SOURCE |
158 | LDFLAGS +=-Wl,-warn-common | 158 | LDFLAGS +=-Wl,-warn-common |
159 | STRIPCMD:=/bin/true -Not_stripping_since_we_are_debugging | 159 | STRIPCMD:=/bin/true -Not_stripping_since_we_are_debugging |
@@ -162,7 +162,7 @@ else | |||
162 | LDFLAGS += -s -Wl,-warn-common | 162 | LDFLAGS += -s -Wl,-warn-common |
163 | STRIPCMD:=$(STRIP) --remove-section=.note --remove-section=.comment | 163 | STRIPCMD:=$(STRIP) --remove-section=.note --remove-section=.comment |
164 | endif | 164 | endif |
165 | ifeq ($(strip $(DOSTATIC)),y) | 165 | ifeq ($(strip $(CONFIG_STATIC)),y) |
166 | LDFLAGS += --static | 166 | LDFLAGS += --static |
167 | endif | 167 | endif |
168 | 168 | ||