Module Name:    src
Committed By:   nakayama
Date:           Fri May 10 09:42:46 UTC 2019

Modified Files:
        src/lib: Makefile

Log Message:
Don't build compat LLVM PIC libraries since it is unused if MKCOMPATX11 == "no".


To generate a diff of this commit:
cvs rdiff -u -r1.270 -r1.271 src/lib/Makefile

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

Modified files:

Index: src/lib/Makefile
diff -u src/lib/Makefile:1.270 src/lib/Makefile:1.271
--- src/lib/Makefile:1.270	Wed Apr  3 15:22:05 2019
+++ src/lib/Makefile	Fri May 10 09:42:46 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.270 2019/04/03 15:22:05 joerg Exp $
+#	$NetBSD: Makefile,v 1.271 2019/05/10 09:42:46 nakayama Exp $
 #	from: @(#)Makefile	5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -170,7 +170,7 @@ SUBDIR+=	../external/gpl3/${EXTERNAL_GCC
 SUBDIR+=	../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libsupc++
 .endif
 
-.if (${MKLLVMRT} != "no")
+.if (${MKLLVMRT} != "no" && (!defined(MLIBDIR) || ${MKCOMPATX11} != "no"))
 SUBDIR+=	../external/bsd/llvm/include
 .endif
 
@@ -183,7 +183,7 @@ SUBDIR+= ../external/gpl3/${EXTERNAL_GCC
 .endif
 .endfor
 
-.if (${MKLLVMRT} != "no")
+.if (${MKLLVMRT} != "no" && (!defined(MLIBDIR) || ${MKCOMPATX11} != "no"))
 SUBDIR+=	../external/bsd/llvm/librt
 .endif
 

Reply via email to