New comment by wangp on void-packages repository https://github.com/void-linux/void-packages/pull/49046#issuecomment-1974972605 Comment: ```diff diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index b759f84b962..d898e1b1119 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -3,10 +3,8 @@ pkgname=mold version=2.4.1 revision=1 build_style=cmake -configure_args="-DMOLD_USE_SYSTEM_MIMALLOC=ON - -Dmimalloc_DIR=${XBPS_CROSS_BASE}/cmake/mimalloc-2.0 - -DMOLD_USE_SYSTEM_TBB=ON" -makedepends="mimalloc-devel openssl-devel zlib-devel libzstd-devel tbb-devel" +configure_args="-DMOLD_USE_SYSTEM_MIMALLOC=ON -DMOLD_USE_SYSTEM_TBB=ON" +makedepends="mimalloc-devel zlib-devel libzstd-devel tbb-devel" # It's probably not worth pulling in clang/llvm to run the few tests that # depend on them. checkdepends="tar zstd libdwarf gdb" ``` mold doesn't use openssl any more so you can remove `openssl-devel` (https://github.com/rui314/mold/issues/1088) You can delete the `mimalloc_DIR` variable. The path doesn't exist in the current mimalloc package, so maybe it was never really necessary. You can replace me as the maintainer if you like.