From ddea27466683a512fbe8e321c0dd4d494e11d4c3 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 11 Dec 2020 15:56:28 +0200 Subject: [PATCH] qemu: fix x86 builds --- x11-packages/qemu-system-x86-64/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x11-packages/qemu-system-x86-64/build.sh b/x11-packages/qemu-system-x86-64/build.sh index cb3b35d98..d7aa94244 100644 --- a/x11-packages/qemu-system-x86-64/build.sh +++ b/x11-packages/qemu-system-x86-64/build.sh @@ -39,6 +39,10 @@ share/qemu termux_step_configure() { termux_setup_ninja + if [ "$TERMUX_ARCH" = "i686" ]; then + LDFLAGS+=" -latomic" + fi + local QEMU_TARGETS="" # System emulation.