summaryrefslogtreecommitdiff
path: root/user/qemu/fix-lm32-underlinking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/qemu/fix-lm32-underlinking.patch')
-rw-r--r--user/qemu/fix-lm32-underlinking.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/qemu/fix-lm32-underlinking.patch b/user/qemu/fix-lm32-underlinking.patch
new file mode 100644
index 000000000..6c93a894c
--- /dev/null
+++ b/user/qemu/fix-lm32-underlinking.patch
@@ -0,0 +1,10 @@
+Fails to link due to missing 'XOpenDisplay' et al.
+
+--- qemu-2.12.0/target/lm32/Makefile.objs.old 2018-04-24 11:30:47.000000000 -0500
++++ qemu-2.12.0/target/lm32/Makefile.objs 2018-07-03 04:12:04.080000000 -0500
+@@ -2,3 +2,5 @@
+ obj-y += gdbstub.o
+ obj-y += lm32-semi.o
+ obj-$(CONFIG_SOFTMMU) += machine.o
++
++helper.o-libs := -lX11