move -s from LDFLAGS to STRIPCMD
This commit is contained in:
parent
7e64db23d0
commit
1c1655a301
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user