summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-11-07 00:47:39 +0000
committerjoerg <joerg@pkgsrc.org>2013-11-07 00:47:39 +0000
commit0486a2beaa0ef753f5bb679d8969a41e528f70b9 (patch)
tree16199a84e176874bc718a02c979c035b1c281285
parent91898bd92db70205de5d00809011ce5e9d756808 (diff)
downloadpkgsrc-0486a2beaa0ef753f5bb679d8969a41e528f70b9.tar.gz
Catch up with Clang ToT when it comes to various warnings and
unsupported options.
-rw-r--r--sysutils/xenkernel3/Makefile3
-rw-r--r--sysutils/xenkernel33/Makefile3
-rw-r--r--sysutils/xenkernel42/Makefile5
-rw-r--r--sysutils/xentools41/Makefile4
-rw-r--r--sysutils/xentools42/Makefile10
5 files changed, 18 insertions, 7 deletions
diff --git a/sysutils/xenkernel3/Makefile b/sysutils/xenkernel3/Makefile
index 841e76143b7..faf04dec76a 100644
--- a/sysutils/xenkernel3/Makefile
+++ b/sysutils/xenkernel3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2013/09/27 11:35:07 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2013/11/07 00:47:39 joerg Exp $
#
VERSION= 3.1.4
@@ -64,6 +64,7 @@ EXTRA_CFLAGS+= -Wno-error=ignored-attributes -Wno-error=format \
-Wno-error=parentheses-equality \
-Wno-error=sometimes-uninitialized -no-integrated-as \
-ffreestanding -Wno-error=unused-function
+BUILDLINK_TRANSFORM+= rm:-fno-reorder-blocks
.endif
do-build:
diff --git a/sysutils/xenkernel33/Makefile b/sysutils/xenkernel33/Makefile
index 0b4be8966c7..b9b72c0df4c 100644
--- a/sysutils/xenkernel33/Makefile
+++ b/sysutils/xenkernel33/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2013/09/27 11:35:07 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2013/11/07 00:47:39 joerg Exp $
#
VERSION= 3.3.2
@@ -51,6 +51,7 @@ MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR:Q}
EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
-Wno-error=parentheses-equality -Wno-error=enum-conversion \
-Wno-error=tautological-compare -Wno-error=unused-function
+BUILDLINK_TRANSFORM+= rm:-fno-reorder-blocks
.endif
do-build:
diff --git a/sysutils/xenkernel42/Makefile b/sysutils/xenkernel42/Makefile
index 6bd928c9e8f..3571374d855 100644
--- a/sysutils/xenkernel42/Makefile
+++ b/sysutils/xenkernel42/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2013/09/12 23:37:18 prlw1 Exp $
+# $NetBSD: Makefile,v 1.4 2013/11/07 00:47:39 joerg Exp $
#
VERSION= 4.2.3
@@ -31,7 +31,8 @@ MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR}
.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 -Wno-error=unused-const-variable
.endif
MAKE_ENV+= EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
diff --git a/sysutils/xentools41/Makefile b/sysutils/xentools41/Makefile
index 31130e4af4f..aaaac6ef434 100644
--- a/sysutils/xentools41/Makefile
+++ b/sysutils/xentools41/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2013/11/01 11:30:22 jaapb Exp $
+# $NetBSD: Makefile,v 1.39 2013/11/07 00:47:39 joerg Exp $
#
# VERSION is set in version.mk as it is shared with other packages
.include "version.mk"
@@ -184,6 +184,8 @@ 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=unused-function
+BUILDLINK_TRANSFORM+= rm:-falign-jumps=1 rm:-falign-loops=1 \
+ rm:-mpreferred-stack-boundary=2
.endif
MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
diff --git a/sysutils/xentools42/Makefile b/sysutils/xentools42/Makefile
index d11ef885e28..88750852f13 100644
--- a/sysutils/xentools42/Makefile
+++ b/sysutils/xentools42/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2013/11/01 11:30:23 jaapb Exp $
+# $NetBSD: Makefile,v 1.10 2013/11/07 00:47:39 joerg Exp $
#
VERSION= 4.2.3
@@ -240,7 +240,13 @@ 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 -Wno-error=format \
+ -Wno-error=unused-const-variable \
+ -Wno-error=gnu-designator -Wno-error=uninitialized \
+ -Wno-error=parentheses-equality
+BUILDLINK_TRANSFORM+= rm:-falign-jumps=1 rm:-falign-loops=1 \
+ rm:-mpreferred-stack-boundary=2
.endif
MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:M*:Q}