Use better stack protection
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,12 +1,13 @@
|
||||
CC=g++
|
||||
CPPFLAGS= -Wall \
|
||||
-Wextra \
|
||||
-pipe \
|
||||
-Wmissing-declarations \
|
||||
-pedantic \
|
||||
CPPFLAGS= -Wall \
|
||||
-Wextra \
|
||||
-pipe \
|
||||
-Wmissing-declarations \
|
||||
-pedantic \
|
||||
-fstack-protector-strong \
|
||||
-O2
|
||||
|
||||
LDFLAGS=-lncursesw
|
||||
LDFLAGS=-lncursesw -Wl,-z,relro,-z,now
|
||||
|
||||
SOURCES=main.cpp \
|
||||
chess.cpp \
|
||||
|
||||
Reference in New Issue
Block a user