Skip to content

Commit

Permalink
mold: don't use mimalloc which causes segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 authored Jun 18, 2024
1 parent 6fd41aa commit 5725e3b
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 5725e3b

Please sign in to comment.