Skip to content

Commit

Permalink
Merge pull request #21190 from yujincheng08/patch-1
Browse files Browse the repository at this point in the history
mold: don't use mimalloc which causes segfault
  • Loading branch information
lazka authored Jun 19, 2024
2 parents e24a8e8 + 5725e3b commit df2921c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mingw-w64-mold/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ msys2_references=(
)
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-libwinpthread-git"
"${MINGW_PACKAGE_PREFIX}-mimalloc"
"${MINGW_PACKAGE_PREFIX}-tbb"
"${MINGW_PACKAGE_PREFIX}-zlib"
"${MINGW_PACKAGE_PREFIX}-zstd")
Expand Down Expand Up @@ -50,7 +49,7 @@ build() {
-DCMAKE_INSTALL_PREFIX="${MINGW_PREFIX}" \
-DCMAKE_INSTALL_LIBEXECDIR='lib' \
"${_extra_config[@]}" \
-DMOLD_USE_SYSTEM_MIMALLOC=ON \
-DMOLD_USE_MIMALLOC=OFF \
-DMOLD_USE_SYSTEM_TBB=ON \
-DMOLD_USE_MOLD=OFF \
-DBUILD_TESTING=OFF \
Expand Down

0 comments on commit df2921c

Please sign in to comment.