diff --git a/Makefile b/Makefile index ca36715..be461ff 100644 --- a/Makefile +++ b/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 \