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 <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-07-23 14:31:38 -04:00
parent 2dc6f7395e
commit 1ac11e4877
1 changed files with 1 additions and 0 deletions

View File

@ -1280,6 +1280,7 @@ mkdir -p %{static_builddir}
run_configure() {
../configure \
--cxx=/bin/false \
--prefix="%{_prefix}" \
--libdir="%{_libdir}" \
--datadir="%{_datadir}" \