Module Name:    src
Committed By:   christos
Date:           Sat Jun  2 01:40:52 UTC 2018

Modified Files:
        src/external/public-domain/xz/lib: Makefile

Log Message:
Don't warn about undefined symbols when we sanitize, since we are not linking
against the sanitizers.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/public-domain/xz/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/xz/lib/Makefile
diff -u src/external/public-domain/xz/lib/Makefile:1.8 src/external/public-domain/xz/lib/Makefile:1.9
--- src/external/public-domain/xz/lib/Makefile:1.8	Thu Jan 19 06:10:38 2017
+++ src/external/public-domain/xz/lib/Makefile	Fri Jun  1 21:40:52 2018
@@ -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 cont
 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

Reply via email to