Module Name: src
Committed By: maya
Date: Sun Mar 3 17:55:04 UTC 2019
Modified Files:
src/lib: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 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.266 src/lib/Makefile:1.267
--- src/lib/Makefile:1.266 Mon Dec 24 22:02:32 2018
+++ src/lib/Makefile Sun Mar 3 17:55:04 2019
@@ -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 @@ SUBDIR+= ../external/gpl3/${EXTERNAL_GCC
#==================== 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}