From 2ecc0d987b7bc94731e8e56d2860548d7aa426fe Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Sat, 16 Mar 2013 03:57:46 +0000 Subject: [PATCH] The compiler argument -mno-apcs-frame has no meaning when using EABI as we will use aapcs frames, not apcs frames. --- sys/conf/Makefile.arm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index 20e7b71b1d1..10939db86cb 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"