Browse Source

Add -fno-stack-protector to nondebug build

pull/1582/head
Sami Vaarala 7 years ago
parent
commit
75a8b0cf07
  1. 2
      Makefile

2
Makefile

@ -140,7 +140,7 @@ CCOPTS_SHARED += -I./extras/module-duktape
#CCOPTS_SHARED += -mx32 # force X32 compilation on a 64-bit host
CCOPTS_NONDEBUG = $(CCOPTS_SHARED) $(CCOPTS_FEATURES)
CCOPTS_NONDEBUG += -Os -fomit-frame-pointer
CCOPTS_NONDEBUG += -Os -fomit-frame-pointer -fno-stack-protector
CCOPTS_NONDEBUG += -g -ggdb
CCOPTS_DEBUG = $(CCOPTS_SHARED) $(CCOPTS_FEATURES)

Loading…
Cancel
Save