From 9501bcd7501beb9d3154c39d899b469bf5a2381f Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 17 Mar 2013 00:56:17 +0000 Subject: [PATCH] The -mno-apcs-frame argument is unavaliable on clang, also ignore it there. --- sys/conf/Makefile.arm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index 10939db86cb9..8348e2adc819 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -44,7 +44,7 @@ CFLAGS += -mno-thumb-interwork .endif .if empty(DDB_ENABLED) -.if !defined(WITH_ARM_EABI) +.if !defined(WITH_ARM_EABI) && ${COMPILER_TYPE} != "clang" CFLAGS += -mno-apcs-frame .endif .elif defined(WITH_ARM_EABI)