Module Name: src
Committed By: rin
Date: Fri Jan 27 15:20:31 UTC 2017
Modified Files:
src/distrib/evbarm/instkernel/ramdisk: Makefile
Log Message:
Fix build with LLVM, which does not support -mthumb-interwork.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/distrib/evbarm/instkernel/ramdisk/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/evbarm/instkernel/ramdisk/Makefile
diff -u src/distrib/evbarm/instkernel/ramdisk/Makefile:1.15 src/distrib/evbarm/instkernel/ramdisk/Makefile:1.16
--- src/distrib/evbarm/instkernel/ramdisk/Makefile:1.15 Tue Jan 24 18:04:02 2017
+++ src/distrib/evbarm/instkernel/ramdisk/Makefile Fri Jan 27 15:20:31 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2017/01/24 18:04:02 christos Exp $
+# $NetBSD: Makefile,v 1.16 2017/01/27 15:20:31 rin Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -9,7 +9,7 @@ MAKEFS_FLAGS+= -f 15
WARNS= 1
DBG= -Os
-.if !empty(MACHINE_ARCH:Mearmv7*)
+.if !empty(MACHINE_ARCH:Mearmv7*) && ${ACTIVE_CC} == "gcc"
DBG+= -mthumb -mthumb-interwork
.endif