[Add] Stack protector flags to DEBUG build.
This commit is contained in:
parent
c464e7d056
commit
830c6e0100
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user