summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2017-06-05 23:34:40 +0200
committerSven Wegener <sven.wegener@stealer.net>2018-07-20 21:06:20 +0200
commit5bf08631fbc863ee7326978652205a842a902634 (patch)
tree63761d48e7680e4f119d1df256911dba7197243f
parent777973d0d8bf44b2d6634eba022c66b5e744bee3 (diff)
mpy-cross: Disable stack-protectorfor-upstream
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/Makefile1
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