diff --git a/external/public-domain/xz/lib/Makefile b/external/public-domain/xz/lib/Makefile index 922067aef524..5b32425c6f77 100644 --- a/external/public-domain/xz/lib/Makefile +++ b/external/public-domain/xz/lib/Makefile @@ -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 @@ -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