[packages/x265] builds on x32 without asm
glen
glen at pld-linux.org
Wed Jun 10 12:48:31 CEST 2015
commit 26e99422fd6098ab2bc7fe73b2f27fe7bb9298a6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jun 10 13:48:26 2015 +0300
builds on x32 without asm
x265.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/x265.spec b/x265.spec
index 2b2a3ab..3ad81e0 100644
--- a/x265.spec
+++ b/x265.spec
@@ -1,4 +1,4 @@
-%define rel 1
+%define rel 2
%define subver 20150610
Summary: H.265/HEVC video encoder
Summary(pl.UTF-8): Koder obrazu H.265/HEVC
@@ -21,7 +21,7 @@ BuildRequires: yasm >= 1.2.0
%endif
Requires: libx265 = %{version}-%{release}
# see CMakeLists.txt, more is probably possible
-ExclusiveArch: %{ix86} %{x8664} arm
+ExclusiveArch: %{ix86} %{x8664} x32 arm
# needs 64-bit atomic compare and swap
ExcludeArch: i386 i486
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -77,6 +77,9 @@ mv %{name}-stable/* .
install -d source/build
cd source/build
%cmake .. \
+%ifarch x32
+ -DENABLE_ASSEMBLY=OFF \
+%endif
-DLIB_INSTALL_DIR=%{_lib}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/x265.git/commitdiff/26e99422fd6098ab2bc7fe73b2f27fe7bb9298a6
More information about the pld-cvs-commit
mailing list