build(legacy): build emulator without stack protector

[no changelog]
pull/1991/head
Ondrej Mikle 2 years ago committed by Pavol Rusnak
parent 1734957685
commit 192abdd83b

@ -33,7 +33,7 @@ OPENOCD := openocd -f interface/stlink.cfg -c "transport select hla_swd" -f tar
GDB := $(PREFIX)gdb --nx -ex 'set remotetimeout unlimited' -ex 'set confirm off' -ex 'target remote 127.0.0.1:3333' -ex 'monitor reset halt'
CONFFLAG ?= -DCONFIDENTIAL='__attribute__((section("confidential")))'
CONFFLAG ?= -DCONFIDENTIAL='__attribute__((section("confidential")))' -fstack-protector-all
OPTFLAGS ?= -O3
DBGFLAGS ?= -g -DNDEBUG
CPUFLAGS ?= -mcpu=cortex-m3 -mthumb
@ -67,7 +67,6 @@ CFLAGS += $(OPTFLAGS) \
-fvisibility=internal \
-ffunction-sections \
-fdata-sections \
-fstack-protector-all \
$(CPUFLAGS) \
$(FPUFLAGS) \
$(CONFFLAG) \

Loading…
Cancel
Save