summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-22 22:15:21 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-22 22:15:21 +0000
commite5272074c9bf554fa9f24a97899de584b1c127c2 (patch)
treeb2cb25c7af226c471111fd04f14e7502f41b1155 /Rules.mak
parent20c9f1e5e7290c7d22bdf4217e66b9d75e9e73df (diff)
downloadbusybox-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.mak10
1 files changed, 5 insertions, 5 deletions
diff --git a/Rules.mak b/Rules.mak
index b38225fbe..55e9b5ce6 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -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
143ifeq ($(strip $(DOLFS)),y) 143ifeq ($(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
146endif 146endif
147ifeq ($(strip $(DODMALLOC)),y) 147ifeq ($(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
151else 151else
152 ifeq ($(strip $(DOEFENCE)),y) 152 ifeq ($(strip $(CONFIG_EFENCE)),y)
153 LIBRARIES:=-lefence 153 LIBRARIES:=-lefence
154 endif 154 endif
155endif 155endif
156ifeq ($(strip $(DODEBUG)),y) 156ifeq ($(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
164endif 164endif
165ifeq ($(strip $(DOSTATIC)),y) 165ifeq ($(strip $(CONFIG_STATIC)),y)
166 LDFLAGS += --static 166 LDFLAGS += --static
167endif 167endif
168 168