summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-03-16 03:57:46 +0000
committerandrew <andrew@FreeBSD.org>2013-03-16 03:57:46 +0000
commit2b4b00f4f6e62b0d54e096333cfffb05d33ccd30 (patch)
tree21f6708237a0f433cd23237cbec2a4b5d86c7c67 /sys/conf
parent14fe99e96981427528fbea82d97c4b81a73ff8b6 (diff)
downloadFreeBSD-src-2b4b00f4f6e62b0d54e096333cfffb05d33ccd30.zip
FreeBSD-src-2b4b00f4f6e62b0d54e096333cfffb05d33ccd30.tar.gz
The compiler argument -mno-apcs-frame has no meaning when using EABI as we
will use aapcs frames, not apcs frames.
Diffstat (limited to 'sys/conf')
-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