pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils Ignore a couple more warnings when building w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae08bda26672
branches:  trunk
changeset: 358566:ae08bda26672
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 14 21:36:15 2017 +0000

description:
Ignore a couple more warnings when building with clang.

diffstat:

 sysutils/xenkernel42/Makefile |  7 +++++--
 sysutils/xenkernel45/Makefile |  6 ++++--
 sysutils/xentools42/Makefile  |  5 +++--
 sysutils/xentools45/Makefile  |  5 +++--
 4 files changed, 15 insertions(+), 8 deletions(-)

diffs (79 lines):

diff -r 1580e83761f8 -r ae08bda26672 sysutils/xenkernel42/Makefile
--- a/sysutils/xenkernel42/Makefile     Tue Feb 14 21:34:34 2017 +0000
+++ b/sysutils/xenkernel42/Makefile     Tue Feb 14 21:36:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2017/01/01 14:43:58 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2017/02/14 21:36:15 joerg Exp $
 
 VERSION=       4.2.5
 DISTNAME=      xen-${VERSION}
@@ -34,7 +34,10 @@
 EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
                -Wno-error=parentheses-equality -Wno-error=enum-conversion \
                -Wno-error=unused-function -Wno-error=unused-const-variable \
-               -Wno-error=pointer-bool-conversion
+               -Wno-error=pointer-bool-conversion \
+               -Wno-error=constant-conversion \
+               -Wno-error=address-of-packed-member \
+               -Wno-error=tautological-compare
 .endif
 
 MAKE_ENV+=     EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
diff -r 1580e83761f8 -r ae08bda26672 sysutils/xenkernel45/Makefile
--- a/sysutils/xenkernel45/Makefile     Tue Feb 14 21:34:34 2017 +0000
+++ b/sysutils/xenkernel45/Makefile     Tue Feb 14 21:36:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2017/01/01 14:43:58 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2017/02/14 21:36:15 joerg Exp $
 
 VERSION=       4.5.5
 DISTNAME=      xen-${VERSION}
@@ -34,7 +34,9 @@
 EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
                -Wno-error=parentheses-equality -Wno-error=enum-conversion \
                -Wno-error=unused-function -Wno-error=unused-const-variable \
-               -Wno-error=ignored-attributes -Wno-error=initializer-overrides
+               -Wno-error=ignored-attributes -Wno-error=initializer-overrides \
+               -Wno-error=constant-conversion \
+               -Wno-error=address-of-packed-member
 .endif
 .if !empty(PKGSRC_COMPILER:Mgcc) && empty(CC_VERSION:Mgcc-[1-4].*)
 EXTRA_CFLAGS+= -Wno-error=maybe-uninitialized
diff -r 1580e83761f8 -r ae08bda26672 sysutils/xentools42/Makefile
--- a/sysutils/xentools42/Makefile      Tue Feb 14 21:34:34 2017 +0000
+++ b/sysutils/xentools42/Makefile      Tue Feb 14 21:36:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2017/01/03 19:00:56 roy Exp $
+# $NetBSD: Makefile,v 1.56 2017/02/14 21:36:15 joerg Exp $
 
 VERSION=       4.2.5
 VERSION_IPXE=  1.0.0
@@ -251,7 +251,8 @@
                -Wno-error=unused-function -Wno-error=format \
                -Wno-error=unused-const-variable \
                -Wno-error=gnu-designator -Wno-error=uninitialized \
-               -Wno-error=parentheses-equality -Wno-error=enum-conversion
+               -Wno-error=parentheses-equality -Wno-error=enum-conversion \
+               -Wno-error=address-of-packed-member
 BUILDLINK_TRANSFORM+=  rm:-falign-jumps=1 rm:-falign-loops=1 \
                        rm:-mpreferred-stack-boundary=2
 .endif
diff -r 1580e83761f8 -r ae08bda26672 sysutils/xentools45/Makefile
--- a/sysutils/xentools45/Makefile      Tue Feb 14 21:34:34 2017 +0000
+++ b/sysutils/xentools45/Makefile      Tue Feb 14 21:36:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2017/01/03 19:01:41 roy Exp $
+# $NetBSD: Makefile,v 1.46 2017/02/14 21:36:15 joerg Exp $
 
 VERSION=       4.5.5
 PKGREVISION=   3
@@ -213,7 +213,8 @@
                -Wno-error=unused-const-variable \
                -Wno-error=gnu-designator -Wno-error=uninitialized \
                -Wno-error=parentheses-equality \
-               -Wno-error=enum-conversion
+               -Wno-error=enum-conversion \
+               -Wno-error=address-of-packed-member
 BUILDLINK_TRANSFORM+=  rm:-falign-jumps=1 rm:-falign-loops=1 \
                        rm:-mpreferred-stack-boundary=2
 .endif



Home | Main Index | Thread Index | Old Index