Use better stack protection
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,12 +1,13 @@
|
|||||||
CC=g++
|
CC=g++
|
||||||
CPPFLAGS= -Wall \
|
CPPFLAGS= -Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
-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