Skip to content

Commit 6cd12b1

Browse files
committed
packaging: build the -static subpkg on 64bit arches only
The hard-coded `/usr/lib64` paths to Boost static libraries do not work well in 32bit buildroots and nobody is going to use the -static subpkg on a 32bit architecture anyway. Closes: #198
1 parent 52330d3 commit 6cd12b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make-srpm.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ cat > "$SPEC" << EOF
9090
%bcond_without python2
9191
%endif
9292
93-
# build csdiff-static on RHEL-10+ and Fedora
94-
%if 0%{?rhel} > 9 || 0%{?fedora}
93+
# build csdiff-static on 64bit RHEL-10+ and Fedora
94+
%if 0%{?__isa_bits} == 64 && (0%{?rhel} > 9 || 0%{?fedora})
9595
%bcond_without static
9696
%else
9797
%bcond_with static

0 commit comments

Comments
 (0)