From 51295e77d0fd870de20b09b26d58931e60760fb9 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 9 Jul 2013 14:14:26 -0400 Subject: [PATCH] Enable -fstack-protector on Linux too --- Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.linux b/Makefile.linux index b5e4ccec7..773272825 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -6,7 +6,7 @@ ARCH=$(shell uname -m) DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE # Uncomment for a release optimized build -CFLAGS=-Wall -O3 -fno-unroll-loops -pthread $(INCLUDES) -DNDEBUG $(DEFS) +CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS) STRIP=strip --strip-all # Uncomment for a debug build