Use better stack protection
This commit is contained in:
3
Makefile
3
Makefile
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user