From 5bed486ad0ba61823c603b9b490b0da62348c313b5d1ed520d3f62ed3a905b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Tue, 10 May 2022 12:30:23 +0000 Subject: [PATCH] - Do not use mimalloc, use system glibc allocator. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=34 --- mold.changes | 5 +++++ mold.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mold.changes b/mold.changes index d0bc5d8..16737f1 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 10 12:30:07 UTC 2022 - Martin Liška + +- Do not use mimalloc, use system glibc allocator. + ------------------------------------------------------------------- Thu May 5 11:17:01 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index 4688da6..fc5206b 100644 --- a/mold.spec +++ b/mold.spec @@ -34,7 +34,6 @@ BuildRequires: clang BuildRequires: libdwarf-tools BuildRequires: llvm BuildRequires: llvm-gold -BuildRequires: mimalloc-devel BuildRequires: tbb-devel %ifarch x86_64 BuildRequires: gcc-32bit @@ -49,9 +48,9 @@ BuildRequires: zlib-devel PreReq: update-alternatives %if %{suse_version} < 1550 -%define build_args STRIP=true SYSTEM_XXHASH=1 +%define build_args STRIP=true SYSTEM_XXHASH=1 USE_MIMALLOC=0 %else -%define build_args STRIP=true SYSTEM_TBB=1 SYSTEM_XXHASH=1 SYSTEM_MIMALLOC=1 +%define build_args STRIP=true SYSTEM_TBB=1 SYSTEM_XXHASH=1 SYSTEM_MIMALLOC=1 USE_MIMALLOC=0 %endif %description