void-packages/srcpkgs/cmake/patches/no-run-cmake-bootstrap.patch
Đoàn Trần Công Danh 2c9a3ba200 cmake: always built with cmake build-style
Less cursed template (changed build-style for cross-compiling).
2021-07-02 07:28:04 +07:00

13 lines
400 B
Diff

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