move -s from LDFLAGS to STRIPCMD

This commit is contained in:
Mike Frysinger 2005-07-31 22:11:33 +00:00
parent 7e64db23d0
commit 1c1655a301

View File

@ -170,7 +170,7 @@ ifeq ($(strip $(CONFIG_DEBUG)),y)
else
CFLAGS+=$(WARNINGS) $(OPTIMIZATIONS) -D_GNU_SOURCE -DNDEBUG
LDFLAGS += -Wl,-warn-common
STRIPCMD:=$(STRIP) --remove-section=.note --remove-section=.comment
STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
endif
ifeq ($(strip $(CONFIG_STATIC)),y)
LDFLAGS += --static