tStrip resulting binary. - sup - small tool for privilege escalation HTML git clone https://git.parazyd.org/sup DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit a0f8b8985120b7a35e3be70df1128c03d9a5c0e0 DIR parent f9fac86bc362d478bde9cba5dd585e1c63e21079 HTML 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(-) --- DIR diff --git a/Makefile b/Makefile t@@ -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 t@@ -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)