pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Catch up with Clang ToT when it comes to vari...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfbee03aca32
branches:  trunk
changeset: 626286:bfbee03aca32
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 07 00:47:39 2013 +0000

description:
Catch up with Clang ToT when it comes to various warnings and
unsupported options.

diffstat:

 sysutils/xenkernel3/Makefile  |   3 ++-
 sysutils/xenkernel33/Makefile |   3 ++-
 sysutils/xenkernel42/Makefile |   5 +++--
 sysutils/xentools41/Makefile  |   4 +++-
 sysutils/xentools42/Makefile  |  10 ++++++++--
 5 files changed, 18 insertions(+), 7 deletions(-)

diffs (95 lines):

diff -r 374c4854e0ec -r bfbee03aca32 sysutils/xenkernel3/Makefile
--- a/sysutils/xenkernel3/Makefile      Thu Nov 07 00:47:04 2013 +0000
+++ b/sysutils/xenkernel3/Makefile      Thu Nov 07 00:47:39 2013 +0000
@@ -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 @@
                -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 -r 374c4854e0ec -r bfbee03aca32 sysutils/xenkernel33/Makefile
--- a/sysutils/xenkernel33/Makefile     Thu Nov 07 00:47:04 2013 +0000
+++ b/sysutils/xenkernel33/Makefile     Thu Nov 07 00:47:39 2013 +0000
@@ -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 @@
 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 -r 374c4854e0ec -r bfbee03aca32 sysutils/xenkernel42/Makefile
--- a/sysutils/xenkernel42/Makefile     Thu Nov 07 00:47:04 2013 +0000
+++ b/sysutils/xenkernel42/Makefile     Thu Nov 07 00:47:39 2013 +0000
@@ -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 @@
 .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 -r 374c4854e0ec -r bfbee03aca32 sysutils/xentools41/Makefile
--- a/sysutils/xentools41/Makefile      Thu Nov 07 00:47:04 2013 +0000
+++ b/sysutils/xentools41/Makefile      Thu Nov 07 00:47:39 2013 +0000
@@ -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 @@
                -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 -r 374c4854e0ec -r bfbee03aca32 sysutils/xentools42/Makefile
--- a/sysutils/xentools42/Makefile      Thu Nov 07 00:47:04 2013 +0000
+++ b/sysutils/xentools42/Makefile      Thu Nov 07 00:47:39 2013 +0000
@@ -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_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}



Home | Main Index | Thread Index | Old Index