From 6f74d7588fac1765d8bf9e53ff90c123ad4e8feb Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 14 Feb 2017 21:36:15 +0000 Subject: [PATCH] Ignore a couple more warnings when building with clang. --- sysutils/xenkernel42/Makefile | 7 +++++-- sysutils/xenkernel45/Makefile | 6 ++++-- sysutils/xentools42/Makefile | 5 +++-- sysutils/xentools45/Makefile | 5 +++-- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/sysutils/xenkernel42/Makefile b/sysutils/xenkernel42/Makefile index b79b23d03cfc..af45e8acc1e3 100644 --- a/sysutils/xenkernel42/Makefile +++ b/sysutils/xenkernel42/Makefile @@ -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 @@ MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR} 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 --git a/sysutils/xenkernel45/Makefile b/sysutils/xenkernel45/Makefile index 2333c63915d4..f3cb801c35e2 100644 --- a/sysutils/xenkernel45/Makefile +++ b/sysutils/xenkernel45/Makefile @@ -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 @@ MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR} 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 --git a/sysutils/xentools42/Makefile b/sysutils/xentools42/Makefile index 1d26ba73bb9a..51829c7063de 100644 --- a/sysutils/xentools42/Makefile +++ b/sysutils/xentools42/Makefile @@ -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 @@ EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \ -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 --git a/sysutils/xentools45/Makefile b/sysutils/xentools45/Makefile index 8844aaf30495..b13efe4d5773 100644 --- a/sysutils/xentools45/Makefile +++ b/sysutils/xentools45/Makefile @@ -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 @@ EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \ -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