From 7973d2c7e6a58e09d6c4bf747573f28614ad325c Mon Sep 17 00:00:00 2001 From: Levon Kayan Date: Tue, 21 Apr 2020 16:41:36 +0200 Subject: [PATCH] Makefile: use non-debug flags and strip binary (master branch only). --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 7653447..167bad6 100644 --- a/Makefile +++ b/Makefile @@ -63,10 +63,10 @@ LICENSEDIR = $(DESTDIR)/share/licenses/lulzbuster INCDIR = inc SRCDIR = src -#CFLAGS += -W -Wall -Wextra -O2 -pthread -I $(INCDIR) -CFLAGS += -W -Wall -Wextra -O2 -g -g3 -ggdb -fstack-protector-all -fPIE -fPIC -CFLAGS += -pthread -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -CFLAGS += -fsanitize=address -I $(INCDIR) +CFLAGS += -W -Wall -Wextra -O2 -pthread -I $(INCDIR) +#CFLAGS += -W -Wall -Wextra -O2 -g -g3 -ggdb -fstack-protector-all -fPIE -fPIC +#CFLAGS += -pthread -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro +#CFLAGS += -fsanitize=address -I $(INCDIR) LDFLAGS = -lcurl @@ -92,8 +92,8 @@ default: lulzbuster: $(OBJS) $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) - #$(STRIP) -R .gnu.version -R .note.gnu.build-i -R .note.ABI-tag -g -S -d \ - # --strip-debug --strip-dwo -s lulzbuster + $(STRIP) -R .gnu.version -R .note.gnu.build-i -R .note.ABI-tag -g -S -d \ + --strip-debug --strip-dwo -s lulzbuster install: $(MKDIR) $(INSTDIR)