Module Name: src
Committed By: skrll
Date: Mon Dec 16 19:06:41 UTC 2013
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
Provide ARM_APCS_FLAGS on arm and earm.
To generate a diff of this commit:
cvs rdiff -u -r1.758 -r1.759 src/share/mk/bsd.own.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.758 src/share/mk/bsd.own.mk:1.759
--- src/share/mk/bsd.own.mk:1.758 Sun Dec 15 18:08:37 2013
+++ src/share/mk/bsd.own.mk Mon Dec 16 19:06:41 2013
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.758 2013/12/15 18:08:37 joerg Exp $
+# $NetBSD: bsd.own.mk,v 1.759 2013/12/16 19:06:41 skrll Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -756,7 +756,7 @@ MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH
MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsd
.endif
-.if !empty(MACHINE_ARCH:Marm*)
+.if !empty(MACHINE_ARCH:M*arm*)
# Flags to pass to CC for using the old APCS ABI on ARM for compat or stand.
ARM_APCS_FLAGS= -mabi=apcs-gnu -mfloat-abi=soft
ARM_APCS_FLAGS+=${${ACTIVE_CC} == "clang":? -target ${MACHINE_GNU_ARCH}--netbsdelf -B ${TOOLDIR}/${MACHINE_GNU_PLATFORM}/bin :}