Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib Don't build compat LLVM PIC libraries since it is unused...



details:   https://anonhg.NetBSD.org/src/rev/7d2ee0d9b39c
branches:  trunk
changeset: 841364:7d2ee0d9b39c
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Fri May 10 09:42:46 2019 +0000

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

diffstat:

 lib/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4215c41911f8 -r 7d2ee0d9b39c lib/Makefile
--- a/lib/Makefile      Fri May 10 09:13:17 2019 +0000
+++ b/lib/Makefile      Fri May 10 09:42:46 2019 +0000
@@ -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}/lib/libsupc++
 .endif
 
-.if (${MKLLVMRT} != "no")
+.if (${MKLLVMRT} != "no" && (!defined(MLIBDIR) || ${MKCOMPATX11} != "no"))
 SUBDIR+=       ../external/bsd/llvm/include
 .endif
 
@@ -183,7 +183,7 @@
 .endif
 .endfor
 
-.if (${MKLLVMRT} != "no")
+.if (${MKLLVMRT} != "no" && (!defined(MLIBDIR) || ${MKCOMPATX11} != "no"))
 SUBDIR+=       ../external/bsd/llvm/librt
 .endif
 



Home | Main Index | Thread Index | Old Index