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 restrict psabi warning hack to...



details:   https://anonhg.NetBSD.org/src/rev/980451f165d5
branches:  trunk
changeset: 350751:980451f165d5
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Jan 19 11:10:38 2017 +0000

description:
restrict psabi warning hack to gcc, it doesn't exist in clang.

should help i386 llvm builds

diffstat:

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

diffs (18 lines):

diff -r b6ab7a5f55d7 -r 980451f165d5 external/public-domain/xz/lib/Makefile
--- a/external/public-domain/xz/lib/Makefile    Thu Jan 19 09:42:08 2017 +0000
+++ b/external/public-domain/xz/lib/Makefile    Thu Jan 19 11:10:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/01/14 21:20:39 christos Exp $
+# $NetBSD: Makefile,v 1.8 2017/01/19 11:10:38 maya Exp $
 
 .include <bsd.init.mk>
 
@@ -85,7 +85,7 @@
        mv -f ${.TARGET}.tmp ${.TARGET}
 
 .if ${MACHINE_ARCH} == "i386"
-COPTS += -Wno-error=psabi
+COPTS += ${${ACTIVE_CC} == "gcc":? -Wno-error=psabi :}
 .endif
 
 CLEANFILES+=   liblzma.pc



Home | Main Index | Thread Index | Old Index