From 2fb60a503312a5b93f1cb2ab9513f9840735d89c Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 28 Oct 2019 15:01:48 -0400 Subject: Use stack protector --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 05b4a83..eaaa6cd 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # the License. CPPFLAGS = -D_GNU_SOURCE -CFLAGS = -O2 -flto -Wall -Werror=format-security -fvisibility=hidden -fpic -pthread +CFLAGS = -O2 -flto -Wall -Werror=format-security -fstack-protector-strong -fvisibility=hidden -fpic -pthread LDFLAGS = -Wl,-O2 -flto -Wl,-z,relro -Wl,-z,now -fpic -pthread -shared -s LDLIBS = -lX11 -ldl -- cgit v1.2.3