Use better stack protection

This commit is contained in:
2014-12-10 14:43:45 +02:00
parent f0f06c2fc5
commit 93f9c1e5aa

View File

@@ -4,9 +4,10 @@ CPPFLAGS= -Wall \
-pipe \ -pipe \
-Wmissing-declarations \ -Wmissing-declarations \
-pedantic \ -pedantic \
-fstack-protector-strong \
-O2 -O2
LDFLAGS=-lncursesw LDFLAGS=-lncursesw -Wl,-z,relro,-z,now
SOURCES=main.cpp \ SOURCES=main.cpp \
chess.cpp \ chess.cpp \