From fc29f73afca0dbd7cf391202ef70c5df44b6b521 Mon Sep 17 00:00:00 2001 From: wuzx <471319475@qq.com> Date: Tue, 29 Nov 2022 03:02:48 +0000 Subject: [PATCH] update jemalloc.spec. Signed-off-by: wuzx <471319475@qq.com> --- jemalloc.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jemalloc.spec b/jemalloc.spec index 5ee0f8d..7aa2992 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -21,6 +21,7 @@ Source0: https://github.com/jemalloc/%{name}/releases/download/%{version} Patch1: backport-Jemalloc-5.2.1-patch-1-fix-large-bin-index-accessed-through-cache-bin-descriptor.patch Patch2: backport-Jemalloc-5.2.1-patch-2-fix-undefined-behavior-in-hash.patch Patch3: backport-Jemalloc-5.2.1-patch-3-fix-tcaches-mutex-pre-post-fork-handling.patch +Patch4: mstflint-4.10.0-sw.patch BuildRequires: libxslt perl-generators gcc %description @@ -41,6 +42,9 @@ The help package contains manual pages and other related files for jemalloc. %prep %autosetup -p1 +%ifnarch sw_64 +%patch4 -R -p1 +%endif %build export LDFLAGS="%{?__global_ldflags} -lrt" -- Gitee