summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-03-17 00:56:17 +0000
committerandrew <andrew@FreeBSD.org>2013-03-17 00:56:17 +0000
commit9501bcd7501beb9d3154c39d899b469bf5a2381f (patch)
treef7012080aa84458ebce6f28d9b5094e696518b6a /sys/conf
parentacae942b0530c6e423e597a93933d0dc4d59185a (diff)
downloadFreeBSD-src-9501bcd7501beb9d3154c39d899b469bf5a2381f.zip
FreeBSD-src-9501bcd7501beb9d3154c39d899b469bf5a2381f.tar.gz
The -mno-apcs-frame argument is unavaliable on clang, also ignore it there.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.arm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 10939db..8348e2a 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)
OpenPOWER on IntegriCloud