We will run cmake ourselves with our flags Index: cmake-3.20.3/bootstrap =================================================================== --- cmake-3.20.3.orig/bootstrap +++ cmake-3.20.3/bootstrap @@ -1968,6 +1968,7 @@ export CFLAGS export CXXFLAGS export LDFLAGS +exit 0 # Run bootstrap CMake to configure real CMake cmake_options="-DCMAKE_BOOTSTRAP=1" if test -n "${cmake_verbose}"; then