[Add] Stack protector flags to DEBUG build.

This commit is contained in:
Allanis 2013-07-04 13:48:40 +01:00
parent c464e7d056
commit 830c6e0100

View File

@ -30,7 +30,8 @@ ifeq ($(OS),LINUX)
endif
ifdef DEBUG
CFLAGS += -W -Wall -Wextra -Wshadow -Wpointer-arith -Wmissing-prototypes -Winline -Wcast-align \
-Wmissing-declarations -g3 -DDEBUG -DLUA_USE_APICHECK -std=c99
-Wmissing-declarations -fstack-protector -fstack-protector-all -g3 \
-DDEBUG -DLUA_USE_APICHECK -std=c99
else
CFLAGS += -O2 -funroll-loops -pipe -std=c99
endif