[packages/sheepdog] - disable isa-l on x32

qboosh qboosh at pld-linux.org
Sun Mar 5 22:22:32 CET 2023


commit 1b46e948500667ecbeaa3f6cbb95739148463c16
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 5 22:24:30 2023 +0100

    - disable isa-l on x32

 sheepdog.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/sheepdog.spec b/sheepdog.spec
index f4b383b..3acf475 100644
--- a/sheepdog.spec
+++ b/sheepdog.spec
@@ -37,7 +37,6 @@ BuildRequires:	yasm >= 1.2.0
 %endif
 Requires:	libfuse >= 2.8.0
 Requires:	userspace-rcu >= 0.6.0
-ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -108,6 +107,13 @@ Biblioteka statyczna sheepdog.
 %setup -q
 %patch0 -p1
 
+%ifarch x32
+# currently not supported in lib/isa-l, but let's check
+%{__sed} -i -e 's/-f elf64/-f elfx32/' \
+	configure.ac \
+	lib/isa-l/make.inc
+%endif
+
 %build
 %{__libtoolize}
 %{__aclocal}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sheepdog.git/commitdiff/1b46e948500667ecbeaa3f6cbb95739148463c16



More information about the pld-cvs-commit mailing list