Browse Source

Enable -fstack-protector on Linux too

Adam Ierymenko 12 years ago
parent
commit
51295e77d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.linux

+ 1 - 1
Makefile.linux

@@ -6,7 +6,7 @@ ARCH=$(shell uname -m)
 DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
 DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
 
 
 # Uncomment for a release optimized build
 # 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
 STRIP=strip --strip-all
 
 
 # Uncomment for a debug build
 # Uncomment for a debug build