Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/xz/lib Don't warn about undefined sym...



details:   https://anonhg.NetBSD.org/src/rev/f94170b51b0a
branches:  trunk
changeset: 832915:f94170b51b0a
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 02 01:40:52 2018 +0000

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

diffstat:

 external/public-domain/xz/lib/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6245f86fd44b -r f94170b51b0a external/public-domain/xz/lib/Makefile
--- a/external/public-domain/xz/lib/Makefile    Sat Jun 02 01:40:02 2018 +0000
+++ b/external/public-domain/xz/lib/Makefile    Sat Jun 02 01:40:52 2018 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index