summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen2001-12-06 14:44:11 +0000
committerEric Andersen2001-12-06 14:44:11 +0000
commit06656f363de87846086f03c5e12541a66637858e (patch)
tree3ec7acde610240bb5dae1d87b8bfd952c693ee8c /Makefile
parentdb930948a91167c401ef6869de5c28e9dd11362f (diff)
downloadbusybox-06656f363de87846086f03c5e12541a66637858e.zip
busybox-06656f363de87846086f03c5e12541a66637858e.tar.gz
Minor adjustment to the strip command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 44ea53f..7ae141b 100644
--- a/Makefile
+++ b/Makefile
@@ -151,7 +151,7 @@ ifeq ($(strip $(DODEBUG)),true)
else
CFLAGS += $(WARNINGS) $(OPTIMIZATIONS) -D_GNU_SOURCE
LDFLAGS += -s -Wl,-warn-common
- STRIPCMD = $(STRIP) --remove-section=.note --remove-section=.comment $(PROG)
+ STRIPCMD = $(STRIP) --remove-section=.note --remove-section=.comment
endif
ifeq ($(strip $(DOSTATIC)),true)
LDFLAGS += --static
@@ -214,7 +214,7 @@ $(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/config/MARKER
busybox: config.h dep-files bbsubdirs
$(CC) $(LDFLAGS) -o $@ applets/busybox.o $(shell find $(SUBDIRS) -name \*.a) $(LIBCONFIG_LIB) $(LIBRARIES)
- $(STRIPCMD)
+ $(STRIPCMD) $(PROG)
busybox.links: applets/busybox.mkll
- $(SHELL) $^ >$@