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/a4a550a0e90e
branches:  trunk
changeset: 323147:a4a550a0e90e
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 f20a97d9d42b -r a4a550a0e90e 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