- Do not use mimalloc, use system glibc allocator.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=34
This commit is contained in:
committed by
Git OBS Bridge
parent
3c3e3c8ac6
commit
5bed486ad0
@@ -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
|
||||
|
Reference in New Issue
Block a user