aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/patch-gcc6-etherboot-no-pie.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xen/patch-gcc6-etherboot-no-pie.patch')
-rw-r--r--main/xen/patch-gcc6-etherboot-no-pie.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/xen/patch-gcc6-etherboot-no-pie.patch b/main/xen/patch-gcc6-etherboot-no-pie.patch
new file mode 100644
index 0000000000..c4500259a6
--- /dev/null
+++ b/main/xen/patch-gcc6-etherboot-no-pie.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile b/src/Makefile
+index e2425d7..20111d7 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -4,7 +4,7 @@
+ #
+
+ CLEANUP :=
+-CFLAGS :=
++CFLAGS := -fno-pie
+ ASFLAGS :=
+ LDFLAGS :=
+ MAKEDEPS := Makefile