mirror of
https://abf.rosa.ru/djam/xz.git
synced 2025-02-23 18:42:57 +00:00
Off multithreading by default on 32 bit arches
This commit is contained in:
parent
ebdb8428f2
commit
2e5d6a089a
1 changed files with 10 additions and 1 deletions
11
xz.spec
11
xz.spec
|
@ -8,7 +8,7 @@
|
|||
Summary: XZ utils
|
||||
Name: xz
|
||||
Version: 5.2.5
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: Public Domain
|
||||
Group: Archiving/Compression
|
||||
Url: http://tukaani.org/xz/
|
||||
|
@ -87,6 +87,15 @@ Devel libraries & headers for liblzma.
|
|||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
# Patch3 turns on multithreading by default, but there are memory limits on 32 bit
|
||||
# and xz(1) and liblzma do not control it by themselves
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1196786
|
||||
# https://github.com/rpm-software-management/rpm/commit/a60f36a55cff3331e8bef3a1ab95c87d313911bb
|
||||
# It makes xz fail in various places, e.g. when building the Linux kernel
|
||||
%if "%{__isa_bits}" != "64"
|
||||
%patch3 -p1 -R
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CONFIGURE_TOP=`pwd`
|
||||
mkdir objs
|
||||
|
|
Loading…
Add table
Reference in a new issue