Skip to content

Commit 0fc7efb

Browse files
committed
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.
1 parent 17a4943 commit 0fc7efb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/mkrules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ $(PROG): $(OBJ)
7575
$(ECHO) "LINK $@"
7676
$(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
7777
ifndef DEBUG
78-
$(Q)$(STRIP) $(PROG)
78+
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
7979
endif
8080
$(Q)$(SIZE) $(PROG)
8181

0 commit comments

Comments
 (0)