From 423b3e1183a0d0b615599a75da0d990e8a977ce5 Mon Sep 17 00:00:00 2001 From: Franck STAUFFER Date: Tue, 4 Aug 2020 09:06:58 +0200 Subject: [PATCH] Add --strip-all to LDFLAGS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5b0c691..2e10952 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CPPFLAGS = -D_DEFAULT_SOURCE -D_FOTIFY_SOURCE=2 CFLAGS = $(CPPFLAGS) -std=c99 -pedantic -Wall -Wextra -O2 -fstack-protector -flto -fPIE -pipe -LDFLAGS = -Wl,-z,relro,-z,now,-O2 -lSDL2 -lSDL2_mixer -flto -pie +LDFLAGS = -Wl,-z,relro,-z,now,-O2,--strip-all -lSDL2 -lSDL2_mixer -flto -pie default: bin obj bin/chip8