diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-12-06 14:44:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-12-06 14:44:11 +0000 |
commit | 06656f363de87846086f03c5e12541a66637858e (patch) | |
tree | 3ec7acde610240bb5dae1d87b8bfd952c693ee8c | |
parent | db930948a91167c401ef6869de5c28e9dd11362f (diff) | |
download | busybox-w32-06656f363de87846086f03c5e12541a66637858e.tar.gz busybox-w32-06656f363de87846086f03c5e12541a66637858e.tar.bz2 busybox-w32-06656f363de87846086f03c5e12541a66637858e.zip |
Minor adjustment to the strip command
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,7 +151,7 @@ ifeq ($(strip $(DODEBUG)),true) | |||
151 | else | 151 | else |
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 |
155 | endif | 155 | endif |
156 | ifeq ($(strip $(DOSTATIC)),true) | 156 | ifeq ($(strip $(DOSTATIC)),true) |
157 | LDFLAGS += --static | 157 | LDFLAGS += --static |
@@ -214,7 +214,7 @@ $(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/config/MARKER | |||
214 | 214 | ||
215 | busybox: config.h dep-files bbsubdirs | 215 | busybox: 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 | ||
219 | busybox.links: applets/busybox.mkll | 219 | busybox.links: applets/busybox.mkll |
220 | - $(SHELL) $^ >$@ | 220 | - $(SHELL) $^ >$@ |