Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/evbarm/instkernel/ramdisk Fix build with LLVM, which...



details:   https://anonhg.NetBSD.org/src/rev/8af097d60a2f
branches:  trunk
changeset: 821185:8af097d60a2f
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Jan 27 15:20:31 2017 +0000

description:
Fix build with LLVM, which does not support -mthumb-interwork.

diffstat:

 distrib/evbarm/instkernel/ramdisk/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1f16c1348833 -r 8af097d60a2f distrib/evbarm/instkernel/ramdisk/Makefile
--- a/distrib/evbarm/instkernel/ramdisk/Makefile        Fri Jan 27 12:52:39 2017 +0000
+++ b/distrib/evbarm/instkernel/ramdisk/Makefile        Fri Jan 27 15:20:31 2017 +0000
@@ -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 @@
 
 WARNS=         1
 DBG=           -Os
-.if !empty(MACHINE_ARCH:Mearmv7*)
+.if !empty(MACHINE_ARCH:Mearmv7*) && ${ACTIVE_CC} == "gcc"
 DBG+=          -mthumb -mthumb-interwork
 .endif
 



Home | Main Index | Thread Index | Old Index