summaryrefslogtreecommitdiff
path: root/sysutils/xentools48/patches/patch-Config.mk
diff options
context:
space:
mode:
authorbouyer <bouyer>2017-03-30 09:15:09 +0000
committerbouyer <bouyer>2017-03-30 09:15:09 +0000
commit8ba64941fe41e878286fc9d7f4a2cde3620db0d6 (patch)
treeffe9ceb0e6dab6876e61244847f47e3358b34154 /sysutils/xentools48/patches/patch-Config.mk
parent8fb2e8be5143e98e7e31d954cea1035559976988 (diff)
downloadpkgsrc-8ba64941fe41e878286fc9d7f4a2cde3620db0d6.tar.gz
Add xenkerne48 and xentools48, version 4.8.0.
This includes stub domains support, but it should be considered experimental at this time. Stub domains hangs with serial ports, or more more than one virual disk (multiple virtual ethernet have not been tested).
Diffstat (limited to 'sysutils/xentools48/patches/patch-Config.mk')
-rw-r--r--sysutils/xentools48/patches/patch-Config.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/xentools48/patches/patch-Config.mk b/sysutils/xentools48/patches/patch-Config.mk
new file mode 100644
index 00000000000..227a05af6bb
--- /dev/null
+++ b/sysutils/xentools48/patches/patch-Config.mk
@@ -0,0 +1,22 @@
+$NetBSD: patch-Config.mk,v 1.1 2017/03/30 09:15:10 bouyer Exp $
+
+--- Config.mk.orig 2016-12-05 13:03:27.000000000 +0100
++++ Config.mk 2017-03-24 17:33:17.000000000 +0100
+@@ -35,7 +35,7 @@
+
+ # Tools to run on system hosting the build
+ HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
+-HOSTCFLAGS += -fno-strict-aliasing
++HOSTCFLAGS += -fno-strict-aliasing ${EXTRA_HOSTCFLAGS}
+
+ DISTDIR ?= $(XEN_ROOT)/dist
+ DESTDIR ?= /
+@@ -221,6 +221,8 @@
+ # and is a bit too fierce about unused return values
+ CFLAGS-$(clang) += -Wno-parentheses -Wno-format -Wno-unused-value
+
++CFLAGS += ${EXTRA_CFLAGS}
++
+ $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement)
+ $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement)
+ $(call cc-option-add,CFLAGS,CC,-Wno-unused-but-set-variable)