summaryrefslogtreecommitdiff
path: root/app-emulation/xen-tools/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/xen-tools/files')
-rw-r--r--app-emulation/xen-tools/files/ipxe-force-gcc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/xen-tools/files/ipxe-force-gcc.patch b/app-emulation/xen-tools/files/ipxe-force-gcc.patch
new file mode 100644
index 000000000000..781de6591356
--- /dev/null
+++ b/app-emulation/xen-tools/files/ipxe-force-gcc.patch
@@ -0,0 +1,14 @@
+diff --git a/src/Makefile b/src/Makefile
+index 548a4e3f..de5ee7ac 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -16,7 +16,8 @@ SYMBOL_PREFIX :=
+ #
+ # Locations of tools
+ #
+-HOST_CC := gcc
++override CC := gcc
++HOST_CC := ${CC}
+ RM := rm -f
+ TOUCH := touch
+ MKDIR := mkdir