aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 1 insertions, 5 deletions
diff --git a/Rules.mak b/Rules.mak
index c1406592e..6bf91b2d6 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -196,11 +196,7 @@ else
196 LDFLAGS += $(call check_ld,--warn-common,) 196 LDFLAGS += $(call check_ld,--warn-common,)
197 LDFLAGS += $(call check_ld,--sort-common,) 197 LDFLAGS += $(call check_ld,--sort-common,)
198endif 198endif
199ifeq ($(CONFIG_STRIP_BINARIES),y) 199STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
200 STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
201else
202 STRIPCMD:=/bin/true -Not_stripping_since_we_are_debugging
203endif
204ifeq ($(strip $(CONFIG_STATIC)),y) 200ifeq ($(strip $(CONFIG_STATIC)),y)
205 PROG_CFLAGS += $(call check_gcc,-static,) 201 PROG_CFLAGS += $(call check_gcc,-static,)
206endif 202endif