Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib conditionalize
details: https://anonhg.NetBSD.org/src/rev/e66a4213e25f
branches: trunk
changeset: 345679:e66a4213e25f
user: christos <christos%NetBSD.org@localhost>
date: Sun Jun 05 01:23:58 2016 +0000
description:
conditionalize
diffstat:
lib/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 7907248b535e -r e66a4213e25f lib/Makefile
--- a/lib/Makefile Sun Jun 05 01:20:58 2016 +0000
+++ b/lib/Makefile Sun Jun 05 01:23:58 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.244 2016/06/05 01:20:58 christos Exp $
+# $NetBSD: Makefile,v 1.245 2016/06/05 01:23:58 christos Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@@ -172,8 +172,11 @@
#==================== 2nd library dependency barrier ====================
SUBDIR+= .WAIT
-SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libasan
-SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libubsan
+.for sanitizer in asan ubsan
+.if exists(../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer})
+SUBDIR+= ../external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/lib${sanitizer}
+.endif
+.endfor
SUBDIR+= ../external/bsd/libarchive/lib # depends on libxz
Home |
Main Index |
Thread Index |
Old Index