Don't warn about undefined symbols when we sanitize, since we are not linking

against the sanitizers.
This commit is contained in:
christos 2018-06-02 01:40:52 +00:00
parent 1372179b4a
commit 1a640231a9

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2017/01/19 11:10:38 maya Exp $
# $NetBSD: Makefile,v 1.9 2018/06/02 01:40:52 christos Exp $
.include <bsd.init.mk>
@ -15,7 +15,9 @@ INCS+= base.h bcj.h block.h check.h container.h delta.h \
INCSDIR_lzma.h= /usr/include
INCSDIR= /usr/include/lzma
.if ${MKSANITIZER} != "yes"
LDFLAGS+= -Wl,-z,defs
.endif
CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/check
CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/common