makefile: Pass STRIPFLAGS_EXTRA to strip.
Expected to be set on command line, with the idea being that for different targets, there're different smartass ABIs which strive to put unneeded sections into executables, etc., so let people have flexible way to strip that. The option name is similar to previously introduced CLFAGS_EXTRA & LDFLAGS_EXTRA.
This commit is contained in:
parent
17a49431d4
commit
0fc7efb663
|
@ -75,7 +75,7 @@ $(PROG): $(OBJ)
|
||||||
$(ECHO) "LINK $@"
|
$(ECHO) "LINK $@"
|
||||||
$(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
|
$(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
|
||||||
ifndef DEBUG
|
ifndef DEBUG
|
||||||
$(Q)$(STRIP) $(PROG)
|
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
|
||||||
endif
|
endif
|
||||||
$(Q)$(SIZE) $(PROG)
|
$(Q)$(SIZE) $(PROG)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue