aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-04-06 16:21:58 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-05-10 21:21:10 +0200
commitf2e2ac81e2b501b8968940d5252e114dffd1a20c (patch)
treed27b2d3304f729f01f44b873ead6c75f0e5e1c21
parent1df0dd3cb01fb79c24617b66ffa36c986162a5c9 (diff)
downloadbuildroot-f2e2ac81e2b501b8968940d5252e114dffd1a20c.tar.gz
buildroot-f2e2ac81e2b501b8968940d5252e114dffd1a20c.tar.bz2
package/qemu: disable bzip2 for the host variant
bzip2 support is needed for reading bzip2-compressed dmg images. But the host-bzip2 is missing from host qemu package dependency, so the qemu build system will try to detect automatically the external libbzip2 libraries installed on the host. $ ldd output/host/bin/qemu-system-aarch64 [...] libbz2.so.1 => /lib64/libbz2.so.1 or libbz2.so.1.0 => output/host/lib/libbz2.so.1.0 if host-bzip2 is built before host-qemu. Disable explicitely bzip2 options to improve the build reproducibility. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit 743fceb2ed05ab055c1e83e4f1a5ebc893160727) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/qemu/qemu.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b8904ffe18..06841a56d0 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -303,6 +303,7 @@ define HOST_QEMU_CONFIGURE_CMDS
--extra-cflags="$(HOST_QEMU_CFLAGS)" \
--extra-ldflags="$(HOST_LDFLAGS)" \
--python=$(HOST_DIR)/bin/python3 \
+ --disable-bzip2 \
--disable-libssh \
--disable-vnc-jpeg \
--disable-vnc-png \