summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Mohr <manuel.mohr@kit.edu>2015-10-13 11:16:00 +0200
committerManuel Mohr <manuel.mohr@kit.edu>2015-10-13 11:16:00 +0200
commite31f6179f109b851f28e79f2d8aae3cb16582783 (patch)
tree8ff1097df5bdb751d643704b1b857d677015bd7a
parentf3f661de024a23133bf7a6ed90ed126ab7c78918 (diff)
Compile with -mno-red-zone.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3a0e0e6..a59853f 100644
--- a/Makefile
+++ b/Makefile
@@ -98,6 +98,7 @@ ifeq ($(findstring x86_64-invasic, $(TARGET)), x86_64-invasic)
OCTOPOS_BASE = ../octopos-app/releases/$(OCTOPOS_RELEASE)/$(OCTOPOS_ARCH)/$(OCTOPOS_VARIANT)
GCC_INCLUDE = $(shell $(CC) --print-file-name=include)
+ CFLAGS += -mno-red-zone
CPPFLAGS += -I$(OCTOPOS_BASE)/include -isystem $(GCC_INCLUDE)
endif
ifeq ($(findstring sparc-invasic, $(TARGET)), sparc-invasic)