Module Name:    src
Committed By:   maya
Date:           Thu Jan 19 11:10:38 UTC 2017

Modified Files:
        src/external/public-domain/xz/lib: Makefile

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

should help i386 llvm builds


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/public-domain/xz/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/xz/lib/Makefile
diff -u src/external/public-domain/xz/lib/Makefile:1.7 src/external/public-domain/xz/lib/Makefile:1.8
--- src/external/public-domain/xz/lib/Makefile:1.7	Sat Jan 14 21:20:39 2017
+++ src/external/public-domain/xz/lib/Makefile	Thu Jan 19 11:10:38 2017
@@ -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 @@ liblzma.pc:	${XZSRCDIR}/src/liblzma/libl
 	mv -f ${.TARGET}.tmp ${.TARGET}
 
 .if ${MACHINE_ARCH} == "i386"
-COPTS += -Wno-error=psabi
+COPTS += ${${ACTIVE_CC} == "gcc":? -Wno-error=psabi :}
 .endif
 
 CLEANFILES+=	liblzma.pc

Reply via email to