Module Name:    src
Committed By:   christos
Date:           Sat Feb 20 16:36:08 UTC 2016

Modified Files:
        src/share/mk: bsd.sys.mk

Log Message:
Unbreak LLVM MKREPRO=yes builds (since the build system sets MKREPRO now)


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/share/mk/bsd.sys.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.251 src/share/mk/bsd.sys.mk:1.252
--- src/share/mk/bsd.sys.mk:1.251	Sun Jan 31 10:30:14 2016
+++ src/share/mk/bsd.sys.mk	Sat Feb 20 11:36:08 2016
@@ -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)

Reply via email to