Source-Changes-HG archive

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

[src/trunk]: src/lib Traverse into external/bsd/llvm/lib when building librar...



details:   https://anonhg.NetBSD.org/src/rev/6e82bef8dba5
branches:  trunk
changeset: 449323:6e82bef8dba5
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Mar 03 17:55:04 2019 +0000

description:
Traverse into external/bsd/llvm/lib when building libraries.

This allows things that occur after lib (like do-x11) to depend on llvm
libraries already existing.

We need libexecinfo, so adding llvm after the 2nd library barrier.

diffstat:

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

diffs (20 lines):

diff -r f332fc168c18 -r 6e82bef8dba5 lib/Makefile
--- a/lib/Makefile      Sun Mar 03 17:52:32 2019 +0000
+++ b/lib/Makefile      Sun Mar 03 17:55:04 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.266 2018/12/24 22:02:32 mrg Exp $
+#      $NetBSD: Makefile,v 1.267 2019/03/03 17:55:04 maya Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -171,6 +171,10 @@
 #==================== 2nd library dependency barrier ====================
 SUBDIR+=       .WAIT
 
+.if (${MKLLVM} != "no")
+SUBDIR+=       ../external/bsd/llvm/lib        # depends on libexecinfo
+.endif
+
 .for sanitizer in asan lsan ubsan
 .if exists(../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer})
 SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer}



Home | Main Index | Thread Index | Old Index