aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-12-06 14:44:11 +0000
committerEric Andersen <andersen@codepoet.org>2001-12-06 14:44:11 +0000
commit06656f363de87846086f03c5e12541a66637858e (patch)
tree3ec7acde610240bb5dae1d87b8bfd952c693ee8c
parentdb930948a91167c401ef6869de5c28e9dd11362f (diff)
downloadbusybox-w32-06656f363de87846086f03c5e12541a66637858e.tar.gz
busybox-w32-06656f363de87846086f03c5e12541a66637858e.tar.bz2
busybox-w32-06656f363de87846086f03c5e12541a66637858e.zip
Minor adjustment to the strip command
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 44ea53f0c..7ae141bd5 100644
--- a/Makefile
+++ b/Makefile
@@ -151,7 +151,7 @@ ifeq ($(strip $(DODEBUG)),true)
151else 151else
152 CFLAGS += $(WARNINGS) $(OPTIMIZATIONS) -D_GNU_SOURCE 152 CFLAGS += $(WARNINGS) $(OPTIMIZATIONS) -D_GNU_SOURCE
153 LDFLAGS += -s -Wl,-warn-common 153 LDFLAGS += -s -Wl,-warn-common
154 STRIPCMD = $(STRIP) --remove-section=.note --remove-section=.comment $(PROG) 154 STRIPCMD = $(STRIP) --remove-section=.note --remove-section=.comment
155endif 155endif
156ifeq ($(strip $(DOSTATIC)),true) 156ifeq ($(strip $(DOSTATIC)),true)
157 LDFLAGS += --static 157 LDFLAGS += --static
@@ -214,7 +214,7 @@ $(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/config/MARKER
214 214
215busybox: config.h dep-files bbsubdirs 215busybox: config.h dep-files bbsubdirs
216 $(CC) $(LDFLAGS) -o $@ applets/busybox.o $(shell find $(SUBDIRS) -name \*.a) $(LIBCONFIG_LIB) $(LIBRARIES) 216 $(CC) $(LDFLAGS) -o $@ applets/busybox.o $(shell find $(SUBDIRS) -name \*.a) $(LIBCONFIG_LIB) $(LIBRARIES)
217 $(STRIPCMD) 217 $(STRIPCMD) $(PROG)
218 218
219busybox.links: applets/busybox.mkll 219busybox.links: applets/busybox.mkll
220 - $(SHELL) $^ >$@ 220 - $(SHELL) $^ >$@