From 1ac11e4877cbba6bb3bafee908178d580a28d440 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 23 Jul 2021 14:31:38 -0400 Subject: [PATCH] spec: Explicitly don't build with c++ This is the historical intended behavior in the buildroot, but for local builds, or with clang, qemu would detect a c++ compiler on the host. So explicitly make the check fail by passing /bin/false Signed-off-by: Cole Robinson --- qemu.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu.spec b/qemu.spec index f1805b0..8de19bb 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1280,6 +1280,7 @@ mkdir -p %{static_builddir} run_configure() { ../configure \ + --cxx=/bin/false \ --prefix="%{_prefix}" \ --libdir="%{_libdir}" \ --datadir="%{_datadir}" \