Remove reconfiguration logic

meson handles this internally since 1.3 so we don't need this logic
anymore.
This commit is contained in:
Daan De Meyer 2024-02-11 12:48:19 +01:00
parent b375f983d9
commit a9172a2e9c
1 changed files with 0 additions and 8 deletions

View File

@ -702,14 +702,6 @@ CONFIGURE_OPTS=(
%global _lto_cflags %nil
%endif
# Do configuration. If doing an inplace build, try to do
# reconfiguration to pick up new options.
%if %{with inplace}
command -v ccache 2>/dev/null && { CC="${CC:-ccache %__cc}"; CXX="${CXX:-ccache %__cxx}"; }
[ -e %{_vpath_builddir}/build.ninja ] &&
%__meson configure %{_vpath_builddir} "${CONFIGURE_OPTS[@]}" ||
%endif
{ %meson "${CONFIGURE_OPTS[@]}"; }
%meson_build