summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-09-27 11:35:07 +0000
committerjoerg <joerg@pkgsrc.org>2013-09-27 11:35:07 +0000
commitd13e01774855ed1881623c5757526c360074898b (patch)
treebb420e95d07d7c357b4d5e7b46a974f896879801 /sysutils
parent51cf47d5897dac0adf70eb65acdb44e6b94c91eb (diff)
downloadpkgsrc-d13e01774855ed1881623c5757526c360074898b.tar.gz
Make -Wunused-function non-fatal for clang.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xenkernel3/Makefile4
-rw-r--r--sysutils/xenkernel33/Makefile4
-rw-r--r--sysutils/xenkernel41/Makefile5
-rw-r--r--sysutils/xentools3/Makefile5
-rw-r--r--sysutils/xentools33/Makefile5
-rw-r--r--sysutils/xentools41/Makefile4
6 files changed, 15 insertions, 12 deletions
diff --git a/sysutils/xenkernel3/Makefile b/sysutils/xenkernel3/Makefile
index 76739d39f9b..841e76143b7 100644
--- a/sysutils/xenkernel3/Makefile
+++ b/sysutils/xenkernel3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2013/06/19 14:03:41 gdt Exp $
+# $NetBSD: Makefile,v 1.26 2013/09/27 11:35:07 joerg Exp $
#
VERSION= 3.1.4
@@ -63,7 +63,7 @@ EXTRA_CFLAGS+= -Wno-error=ignored-attributes -Wno-error=format \
-Wno-error=tautological-compare \
-Wno-error=parentheses-equality \
-Wno-error=sometimes-uninitialized -no-integrated-as \
- -ffreestanding
+ -ffreestanding -Wno-error=unused-function
.endif
do-build:
diff --git a/sysutils/xenkernel33/Makefile b/sysutils/xenkernel33/Makefile
index 9f9d79e3241..0b4be8966c7 100644
--- a/sysutils/xenkernel33/Makefile
+++ b/sysutils/xenkernel33/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2013/06/19 14:03:41 gdt Exp $
+# $NetBSD: Makefile,v 1.24 2013/09/27 11:35:07 joerg Exp $
#
VERSION= 3.3.2
@@ -50,7 +50,7 @@ MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR:Q}
.if !empty(PKGSRC_COMPILER:Mclang)
EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
-Wno-error=parentheses-equality -Wno-error=enum-conversion \
- -Wno-error=tautological-compare
+ -Wno-error=tautological-compare -Wno-error=unused-function
.endif
do-build:
diff --git a/sysutils/xenkernel41/Makefile b/sysutils/xenkernel41/Makefile
index f11f601bc68..aba08ec9c11 100644
--- a/sysutils/xenkernel41/Makefile
+++ b/sysutils/xenkernel41/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2013/09/11 18:00:33 drochner Exp $
+# $NetBSD: Makefile,v 1.25 2013/09/27 11:35:07 joerg Exp $
#
VERSION= 4.1.6.1
@@ -35,7 +35,8 @@ MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR:Q}
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
- -Wno-error=parentheses-equality -Wno-error=enum-conversion
+ -Wno-error=parentheses-equality -Wno-error=enum-conversion \
+ -Wno-error=unused-function
.endif
MAKE_ENV+= EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
diff --git a/sysutils/xentools3/Makefile b/sysutils/xentools3/Makefile
index af06eb615d7..9fa87417b48 100644
--- a/sysutils/xentools3/Makefile
+++ b/sysutils/xentools3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2013/06/04 07:38:49 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2013/09/27 11:35:07 joerg Exp $
VERSION= 3.1.4
DISTNAME= xen-${VERSION}
@@ -142,7 +142,8 @@ OWN_DIRS= ${PKG_SYSCONFDIR}/scripts /var/log/xen
EXTRA_HOSTCFLAGS+= -Wno-error=ignored-attributes -Wno-error=format-security
EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \
-Wno-error=tautological-compare -Wno-error=null-dereference \
- -Wno-error=self-assign -Wno-error=sometimes-uninitialized
+ -Wno-error=self-assign -Wno-error=sometimes-uninitialized \
+ -Wno-error=unused-function
.endif
MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
diff --git a/sysutils/xentools33/Makefile b/sysutils/xentools33/Makefile
index 3dcc3ac1862..f9b938650a2 100644
--- a/sysutils/xentools33/Makefile
+++ b/sysutils/xentools33/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2013/06/04 07:38:49 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2013/09/27 11:35:07 joerg Exp $
VERSION= 3.3.2
DISTNAME= xen-${VERSION}
@@ -151,7 +151,8 @@ OWN_DIRS= ${PKG_SYSCONFDIR}/scripts /var/log/xen
EXTRA_HOSTCFLAGS+= -Wno-error=ignored-attributes -Wno-error=format-security
EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \
-Wno-error=tautological-compare -Wno-error=null-dereference \
- -Wno-error=self-assign -Wno-error=sometimes-uninitialized
+ -Wno-error=self-assign -Wno-error=sometimes-uninitialized \
+ -Wno-error=unused-function
.endif
MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
diff --git a/sysutils/xentools41/Makefile b/sysutils/xentools41/Makefile
index 7557b32101c..d689c3a930e 100644
--- a/sysutils/xentools41/Makefile
+++ b/sysutils/xentools41/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2013/09/11 18:00:33 drochner Exp $
+# $NetBSD: Makefile,v 1.37 2013/09/27 11:35:07 joerg Exp $
#
# VERSION is set in version.mk as it is shared with other packages
.include "version.mk"
@@ -182,7 +182,7 @@ EXTRA_HOSTCFLAGS+= -Wno-error=ignored-attributes
EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \
-Wno-error=tautological-compare -Wno-error=null-dereference \
-Wno-error=empty-body -Wno-error=self-assign \
- -Wno-error=sometimes-uninitialized
+ -Wno-error=sometimes-uninitialized -Wno-error=unused-function
.endif
MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}