summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2016-05-23 05:16:43 +0000
committerbsiegert <bsiegert>2016-05-23 05:16:43 +0000
commitb15eb2a8e9a36df41f0e5b382dcc896ddbadc3ba (patch)
tree3127b24dc9750f6e37f5d473678d6586f3e3bf48
parent0eefd2d54cc1b44c8992095306a49d4ad26b3497 (diff)
downloadpkgsrc-b15eb2a8e9a36df41f0e5b382dcc896ddbadc3ba.tar.gz
Pullup ticket #5025 - requested by joerg
sysutils/xenkernel33: build fix Revisions pulled up: - sysutils/xenkernel3/Makefile 1.31 - sysutils/xenkernel33/Makefile 1.30 - sysutils/xentools3/Makefile 1.47 --- Module Name: pkgsrc Committed By: joerg Date: Wed May 18 21:25:06 UTC 2016 Modified Files: pkgsrc/sysutils/xenkernel3: Makefile pkgsrc/sysutils/xenkernel33: Makefile pkgsrc/sysutils/xentools3: Makefile Log Message: Make some GCC warnings non-fatal.
-rw-r--r--sysutils/xenkernel3/Makefile4
-rw-r--r--sysutils/xenkernel33/Makefile5
-rw-r--r--sysutils/xentools3/Makefile4
3 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/xenkernel3/Makefile b/sysutils/xenkernel3/Makefile
index e6c8513a699..e04ef86cd76 100644
--- a/sysutils/xenkernel3/Makefile
+++ b/sysutils/xenkernel3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2015/12/05 21:26:00 adam Exp $
+# $NetBSD: Makefile,v 1.30.4.1 2016/05/23 05:16:43 bsiegert Exp $
VERSION= 3.1.4
DISTNAME= xen-${VERSION}
@@ -65,6 +65,8 @@ EXTRA_CFLAGS+= -Wno-error=ignored-attributes -Wno-error=format \
-Wno-error=sometimes-uninitialized -no-integrated-as \
-ffreestanding -Wno-error=unused-function
BUILDLINK_TRANSFORM+= rm:-fno-reorder-blocks
+.elif !empty(PKGSRC_COMPILER:Mgcc)
+EXTRA_CFLAGS+= -Wno-error=unused-but-set-variable
.endif
do-build:
diff --git a/sysutils/xenkernel33/Makefile b/sysutils/xenkernel33/Makefile
index 3b571d44d31..b359f0b595b 100644
--- a/sysutils/xenkernel33/Makefile
+++ b/sysutils/xenkernel33/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2015/12/05 21:26:00 adam Exp $
+# $NetBSD: Makefile,v 1.29.4.1 2016/05/23 05:16:43 bsiegert Exp $
VERSION= 3.3.2
DISTNAME= xen-${VERSION}
@@ -53,6 +53,9 @@ EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
-Wno-error=tautological-compare -Wno-error=unused-function \
-Wno-error=unused-local-typedef
BUILDLINK_TRANSFORM+= rm:-fno-reorder-blocks
+.elif !empty(PKGSRC_COMPILER:Mgcc)
+EXTRA_CFLAGS+= -Wno-error=unused-but-set-variable \
+ -Wno-error=unused-local-typedefs
.endif
do-build:
diff --git a/sysutils/xentools3/Makefile b/sysutils/xentools3/Makefile
index f0d11f6de2f..314347ce6c3 100644
--- a/sysutils/xentools3/Makefile
+++ b/sysutils/xentools3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2016/02/26 10:24:14 jperkin Exp $
+# $NetBSD: Makefile,v 1.46.2.1 2016/05/23 05:16:43 bsiegert Exp $
VERSION= 3.1.4
DISTNAME= xen-${VERSION}
@@ -143,6 +143,8 @@ 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=unused-function
+.elif !empty(PKGSRC_COMPILER:Mgcc)
+EXTRA_CFLAGS+= -Wno-error=unused-but-set-variable
.endif
MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}