summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2019-08-23 08:17:26 +0000
committermrg <mrg@NetBSD.org>2019-08-23 08:17:26 +0000
commitb5ae11f276248da61e2e2dfaabfc5e606ea061f7 (patch)
tree94e5efcd2fd8f1d52d36247d68f34d5b691be8da /lib/Makefile
parent85b920a3c4312b9498946ef070c25c40ed31a5ab (diff)
fix MKCXX=no:
- don't build GDB - don't build sanitizers - don't build GCC commands - fix some set lists
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 2513a368a05..dac1c372c17 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.271 2019/05/10 09:42:46 nakayama Exp $
+# $NetBSD: Makefile,v 1.272 2019/08/23 08:17:26 mrg Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@@ -177,11 +177,13 @@ SUBDIR+= ../external/bsd/llvm/include
#==================== 2nd library dependency barrier ====================
SUBDIR+= .WAIT
+.if (${MKGCC} != "no" && ${MKCXX} != "no" && ${MKLIBSTDCXX} != "no")
.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}
.endif
.endfor
+.endif
.if (${MKLLVMRT} != "no" && (!defined(MLIBDIR) || ${MKCOMPATX11} != "no"))
SUBDIR+= ../external/bsd/llvm/librt