summaryrefslogtreecommitdiff
path: root/sysutils/xentools48/patches/patch-tools_firmware_hvmloader_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools48/patches/patch-tools_firmware_hvmloader_Makefile')
-rw-r--r--sysutils/xentools48/patches/patch-tools_firmware_hvmloader_Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/xentools48/patches/patch-tools_firmware_hvmloader_Makefile b/sysutils/xentools48/patches/patch-tools_firmware_hvmloader_Makefile
new file mode 100644
index 00000000000..879e19a391f
--- /dev/null
+++ b/sysutils/xentools48/patches/patch-tools_firmware_hvmloader_Makefile
@@ -0,0 +1,13 @@
+$NetBSD: patch-tools_firmware_hvmloader_Makefile,v 1.1 2017/03/30 09:15:10 bouyer Exp $
+
+--- tools/firmware/hvmloader/Makefile.orig 2016-12-05 13:03:27.000000000 +0100
++++ tools/firmware/hvmloader/Makefile 2017-03-24 18:14:34.000000000 +0100
+@@ -26,7 +26,7 @@
+ # SMBIOS spec requires format mm/dd/yyyy
+ SMBIOS_REL_DATE ?= $(shell date +%m/%d/%Y)
+
+-CFLAGS += $(CFLAGS_xeninclude)
++CFLAGS += $(CFLAGS_xeninclude) $(EXTRA_CFLAGS)
+
+ # We mustn't use tools-only public interfaces.
+ CFLAGS += -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__