mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
build(legacy): build emulator without stack protector
[no changelog]
This commit is contained in:
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'
|
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
|
OPTFLAGS ?= -O3
|
||||||
DBGFLAGS ?= -g -DNDEBUG
|
DBGFLAGS ?= -g -DNDEBUG
|
||||||
CPUFLAGS ?= -mcpu=cortex-m3 -mthumb
|
CPUFLAGS ?= -mcpu=cortex-m3 -mthumb
|
||||||
@ -67,7 +67,6 @@ CFLAGS += $(OPTFLAGS) \
|
|||||||
-fvisibility=internal \
|
-fvisibility=internal \
|
||||||
-ffunction-sections \
|
-ffunction-sections \
|
||||||
-fdata-sections \
|
-fdata-sections \
|
||||||
-fstack-protector-all \
|
|
||||||
$(CPUFLAGS) \
|
$(CPUFLAGS) \
|
||||||
$(FPUFLAGS) \
|
$(FPUFLAGS) \
|
||||||
$(CONFFLAG) \
|
$(CONFFLAG) \
|
||||||
|
Loading…
Reference in New Issue
Block a user