summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/conf/Makefile.arm2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 20e7b71..10939db 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -44,7 +44,9 @@ CFLAGS += -mno-thumb-interwork
.endif
.if empty(DDB_ENABLED)
+.if !defined(WITH_ARM_EABI)
CFLAGS += -mno-apcs-frame
+.endif
.elif defined(WITH_ARM_EABI)
CFLAGS += -funwind-tables
.if ${COMPILER_TYPE} == "clang"
OpenPOWER on IntegriCloud