diff --git a/external/bsd/fetch/lib/Makefile b/external/bsd/fetch/lib/Makefile index 48a79881b40b..0b0a278ab421 100644 --- a/external/bsd/fetch/lib/Makefile +++ b/external/bsd/fetch/lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2019/10/13 07:28:05 mrg Exp $ +# $NetBSD: Makefile,v 1.16 2020/02/08 00:11:18 kamil Exp $ LIB= fetch SRCS= fetch.c common.c ftp.c http.c file.c @@ -32,7 +32,7 @@ httperr.h: ${LIBFETCHDIR}/http.errors ${LIBFETCHDIR}/errlist.sh ${HOST_SH} ${LIBFETCHDIR}/errlist.sh http_errlist HTTP \ ${LIBFETCHDIR}/http.errors > ${.TARGET} -.if ${MKSANITIZER:Uno} == "yes" +.if ${MKSANITIZER:Uno} == "yes" || ${MKLIBCSANITIZER:Uno} == "yes" CFLAGS+= -Wno-macro-redefined # _REENTRANT redefined .endif diff --git a/external/gpl2/lvm2/lvm2tools.mk b/external/gpl2/lvm2/lvm2tools.mk index aaca8c7e0458..ff04b2a8b0b4 100644 --- a/external/gpl2/lvm2/lvm2tools.mk +++ b/external/gpl2/lvm2/lvm2tools.mk @@ -1,4 +1,4 @@ -# $NetBSD: lvm2tools.mk,v 1.5 2019/08/27 22:48:53 kamil Exp $ +# $NetBSD: lvm2tools.mk,v 1.6 2020/02/08 00:11:18 kamil Exp $ .include @@ -25,6 +25,6 @@ CPPFLAGS+=-DDM_DEVICE_UID=0 -DDM_DEVICE_GID=5 -DDM_DEVICE_MODE=0640 \ # #LVM2.liblvm= ${LVM2OBJDIR.liblvm}/liblvm.a -.if ${MKSANITIZER:Uno} == "yes" +.if ${MKSANITIZER:Uno} == "yes" || ${MKLIBCSANITIZER:Uno} == "yes" CFLAGS+= -Wno-macro-redefined # _REENTRANT redefined in lib.h .endif diff --git a/tests/lib/libc/net/Makefile b/tests/lib/libc/net/Makefile index cabd62bc1d3a..da639530bdc2 100644 --- a/tests/lib/libc/net/Makefile +++ b/tests/lib/libc/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2019/08/27 22:48:53 kamil Exp $ +# $NetBSD: Makefile,v 1.13 2020/02/08 00:11:18 kamil Exp $ .include @@ -41,7 +41,7 @@ LDADD.h_nsd_recurse+= -lpthread CLEANFILES+= aton_ether_subr.c -.if ${MKSANITIZER:Uno} == "yes" +.if ${MKSANITIZER:Uno} == "yes" || ${MKLIBCSANITIZER:Uno} == "yes" COPTS.h_nsd_recurse.c+= -Wno-macro-redefined # _REENTRANT redefined .endif