commit a0f8b8985120b7a35e3be70df1128c03d9a5c0e0 parent f9fac86bc362d478bde9cba5dd585e1c63e21079 Author: parazyd <parazyd@dyne.org> Date: Sat, 3 Apr 2021 13:34:38 +0200 Strip resulting binary. Diffstat:
M | Makefile | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -7,9 +7,9 @@ PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man # use system flags -SUP_CFLAGS = ${CFLAGS} -Wall -Werror -pedantic -std=c99 +SUP_CFLAGS = ${CFLAGS} -Wall -Werror -pedantic -std=c99 SUP_CPPFLAGS = ${CPPFLAGS} -SUP_LDFLAGS = ${LDFLAGS} -static +SUP_LDFLAGS = ${LDFLAGS} -static -s BIN = sup MAN = $(BIN).1 @@ -26,7 +26,7 @@ config.h: $(CC) -c $(SUP_CFLAGS) $(SUP_CPPFLAGS) $< $(BIN): $(OBJ) - $(CC) $(OBJ) $(LDFLAGS) -o $@ + $(CC) $(OBJ) $(SUP_LDFLAGS) -o $@ clean: rm -f $(BIN) $(OBJ)