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/46f766c40491
branches:  trunk
changeset: 821002:46f766c40491
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 66a4cdc1f9d8 -r 46f766c40491 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