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.