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

This commit is contained in:
rin 2017-01-27 15:20:31 +00:00
parent bb66c0074f
commit ecb5770e7c
1 changed files with 2 additions and 2 deletions

View File

@ -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