| ... | ... | @@ -15,21 +15,6 @@ pip3 install s3cmd |
| 15 | 15 | # This will affect the cmake command below. |
| 16 | 16 | git config core.abbrev 9 |
| 17 | 17 | |
| 18 | | # This patch is a workaround for |
| 19 | | # https://github.com/ziglang/zig/issues/4822 |
| 20 | | patch <<'END_PATCH' |
| 21 | | --- CMakeLists.txt |
| 22 | | +++ CMakeLists.txt |
| 23 | | @@ -430,7 +430,6 @@ set(BUILD_LIBSTAGE2_ARGS "build-lib" |
| 24 | | --cache on |
| 25 | | --output-dir "${CMAKE_BINARY_DIR}" |
| 26 | | ${LIBSTAGE2_RELEASE_ARG} |
| 27 | | - --bundle-compiler-rt |
| 28 | | -fPIC |
| 29 | | -lc |
| 30 | | ${LIBSTAGE2_WINDOWS_ARGS} |
| 31 | | END_PATCH |
| 32 | | |
| 33 | 18 | mkdir build |
| 34 | 19 | cd build |
| 35 | 20 | cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local |