diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2017-06-05 23:34:40 +0200 |
---|---|---|
committer | Sven Wegener <sven.wegener@stealer.net> | 2018-02-11 22:08:25 +0100 |
commit | 841e6b0535f5fdb6ae8d97400ea5f776bbf54680 (patch) | |
tree | d0692ae1785b5ee7e87ecd31da6884b7276e36e8 | |
parent | 01927cbb8e7215a79384eda5350f6fb8d83a601a (diff) |
mpy-cross: Disable stack-protectorstmhal-flash
The inline asm in nlrx86.c and nlrx64.c depends on a specific stack layout.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
-rw-r--r-- | mpy-cross/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile index 53ce50c7f..ee7dd398c 100644 --- a/mpy-cross/Makefile +++ b/mpy-cross/Makefile @@ -34,6 +34,7 @@ CWARN = -Wall -Werror CWARN += -Wpointer-arith -Wuninitialized CFLAGS = $(INC) $(CWARN) -std=gnu99 $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA) CFLAGS += -fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables +CFLAGS += -fno-stack-protector # Debugging/Optimization ifdef DEBUG |