summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-09 14:14:26 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-09 14:14:26 -0400
commit51295e77d0fd870de20b09b26d58931e60760fb9 (patch)
tree566c45689f7a1df580d707262d46dc62d5e2fb2d
parenta20b540fb02a0fdee45306a8fa22e43e28623272 (diff)
downloadinfinitytier-51295e77d0fd870de20b09b26d58931e60760fb9.tar.gz
infinitytier-51295e77d0fd870de20b09b26d58931e60760fb9.zip
Enable -fstack-protector on Linux too
-rw-r--r--Makefile.linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.linux b/Makefile.linux
index b5e4ccec..77327282 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