aboutsummaryrefslogtreecommitdiffstats
path: root/main/qemu/qemu-libm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/qemu/qemu-libm.patch')
-rw-r--r--main/qemu/qemu-libm.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/qemu/qemu-libm.patch b/main/qemu/qemu-libm.patch
new file mode 100644
index 0000000000..c7f0db707b
--- /dev/null
+++ b/main/qemu/qemu-libm.patch
@@ -0,0 +1,11 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -29,7 +29,7 @@
+
+ $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
+
+-LIBS+=-lz $(LIBS_TOOLS)
++LIBS+=-lm -lz $(LIBS_TOOLS)
+
+ ifdef BUILD_DOCS
+ DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt