diff options
| author | maya <maya@NetBSD.org> | 2019-03-03 17:55:04 +0000 |
|---|---|---|
| committer | maya <maya@NetBSD.org> | 2019-03-03 17:55:04 +0000 |
| commit | 6692e89d30e5ba0d1babed55bfa3b7a3be067503 (patch) | |
| tree | 22248976a4d6df2bfeecb146a7014b4c1a7dc126 /lib/Makefile | |
| parent | 94b8fb17b422abf0ff13191257685bf64c8b7680 (diff) | |
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 (limited to 'lib/Makefile')
| -rw-r--r-- | lib/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index c0cba3ae8ba..60954df60af 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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_SUBDIR}/lib/libsupc++ #==================== 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} |
