From 192abdd83bb5ea998ff05385e3e627a8c32bff88 Mon Sep 17 00:00:00 2001 From: Ondrej Mikle Date: Tue, 7 Dec 2021 18:17:53 +0100 Subject: [PATCH] build(legacy): build emulator without stack protector [no changelog] --- legacy/Makefile.include | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/legacy/Makefile.include b/legacy/Makefile.include index 06948869d..81a571e49 100644 --- a/legacy/Makefile.include +++ b/legacy/Makefile.include @@ -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) \