summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f69ac96e9d..d309cf6c90 100644
--- a/Makefile
+++ b/Makefile
@@ -169,7 +169,7 @@ endif
# if DEBUG is enabled, then we do not strip
ifeq ($(strip $(DEBUG)),true)
CFLAGS += -DDEBUG
- STRIPCMD = /bin/true unstripped binary
+ STRIPCMD =
endif
ifeq ($(strip $(USE_GCOV)),true)
@@ -233,7 +233,9 @@ all: $(KLCC) $(PROGRAMS) $(MAN_PAGES)
# "Static Pattern Rule" to build all programs
$(PROGRAMS): %: $(HOST_PROGS) $(KLCC) $(HEADERS) $(GEN_HEADERS) $(LIBSYSFS) $(LIBUDEV) %.o
$(QUIET) $(LD) $(LDFLAGS) $@.o -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
+endif
# our own copy of klibc, it is not used if KLCC is given
$(KLCC):