Fix build with LLVM, which does not support -mthumb-interwork.
This commit is contained in:
parent
bb66c0074f
commit
ecb5770e7c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue