Ignore a couple more warnings when building with clang.

This commit is contained in:
joerg 2017-02-14 21:36:15 +00:00
parent eeb5c912e8
commit 6f74d7588f
4 changed files with 15 additions and 8 deletions

View file

@ -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}

View file

@ -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

View file

@ -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

View file

@ -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