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/343c6af82f57
branches:  trunk
changeset: 350632:343c6af82f57
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 a50d12ac386c -r 343c6af82f57 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