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 error out for psabi.



details:   https://anonhg.NetBSD.org/src/rev/7a2a9a933307
branches:  trunk
changeset: 820774:7a2a9a933307
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 21:20:39 2017 +0000

description:
Don't error out for psabi.

diffstat:

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

diffs (20 lines):

diff -r 8196405dd77f -r 7a2a9a933307 external/public-domain/xz/lib/Makefile
--- a/external/public-domain/xz/lib/Makefile    Sat Jan 14 21:18:40 2017 +0000
+++ b/external/public-domain/xz/lib/Makefile    Sat Jan 14 21:20:39 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/01/05 13:07:47 christos Exp $
+# $NetBSD: Makefile,v 1.7 2017/01/14 21:20:39 christos Exp $
 
 .include <bsd.init.mk>
 
@@ -84,6 +84,10 @@
            > ${.TARGET}.tmp && \
        mv -f ${.TARGET}.tmp ${.TARGET}
 
+.if ${MACHINE_ARCH} == "i386"
+COPTS += -Wno-error=psabi
+.endif
+
 CLEANFILES+=   liblzma.pc
 
 LIBDPLIBS+=    pthread ${NETBSDSRCDIR}/lib/libpthread



Home | Main Index | Thread Index | Old Index