summaryrefslogtreecommitdiffstats
path: root/main/qemu/qemu-libm.patch
blob: c7f0db707b8b81a794a8a6e09e0dfdf048b2d0ab (plain)
1
2
3
4
5
6
7
8
9
10
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