aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@google.com>2019-10-28 15:01:48 -0400
committerBenjamin Barenblat <bbaren@google.com>2019-10-28 15:01:48 -0400
commit2fb60a503312a5b93f1cb2ab9513f9840735d89c (patch)
tree10a601f200c5995c3ee38b9d1158b6a2972210af
parentcd8509637458c2e3ceedbe173ff20180ce0ea25a (diff)
Use stack protector
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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