From a481ce46bc17056e45e4950046307f250b9b3748 Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 20 Feb 2016 16:36:08 +0000 Subject: [PATCH] Unbreak LLVM MKREPRO=yes builds (since the build system sets MKREPRO now) --- share/mk/bsd.sys.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index f6e4858c0330..209e51b596f8 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.sys.mk,v 1.251 2016/01/31 15:30:14 christos Exp $ +# $NetBSD: bsd.sys.mk,v 1.252 2016/02/20 16:36:08 christos Exp $ # # Build definitions used for NetBSD source tree builds. @@ -14,7 +14,8 @@ error2: @(echo "bsd.own.mk must be included before bsd.sys.mk" >& 2; exit 1) .endif -.if ${MKREPRO:Uno} == "yes" +# XXX: LLVM does not support -iremap and -fdebug-* +.if ${MKREPRO:Uno} == "yes" && ${MKLLVM:Uno} != "yes" .export NETBSDSRCDIR DESTDIR X11SRCDIR .if !empty(DESTDIR)