summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.arm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-04-01 14:24:03 +0000
committerimp <imp@FreeBSD.org>2014-04-01 14:24:03 +0000
commit99cc90ab28d59e2f08dd6be8eaececc4ec5a41bb (patch)
tree61f47b2a2a4aaec1f1fd5d03ddc1bf25f2c61981 /sys/conf/Makefile.arm
parent385f24f997c518abe1a90c732c61a9cf535b904b (diff)
downloadFreeBSD-src-99cc90ab28d59e2f08dd6be8eaececc4ec5a41bb.zip
FreeBSD-src-99cc90ab28d59e2f08dd6be8eaececc4ec5a41bb.tar.gz
Test MK_ARM_ABI rather than if WITHOUT_ARM_ABI is defined.
Diffstat (limited to 'sys/conf/Makefile.arm')
-rw-r--r--sys/conf/Makefile.arm4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 82b39f8..5165967 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -44,10 +44,10 @@ CFLAGS += -mno-thumb-interwork
.endif
.if empty(DDB_ENABLED)
-.if defined(WITHOUT_ARM_EABI) && ${COMPILER_TYPE} != "clang"
+.if MK_ARM_EABI == "no" && ${COMPILER_TYPE} == "gcc"
CFLAGS += -mno-apcs-frame
.endif
-.elif !defined(WITHOUT_ARM_EABI)
+.elif MK_ARM_EABI != "no"
CFLAGS += -funwind-tables
.if ${COMPILER_TYPE} == "clang"
# clang requires us to tell it to emit assembly with unwind information
OpenPOWER on IntegriCloud