Skip to content

Commit

Permalink
packaging: build the -static subpkg on 64bit arches only
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kdudka committed Aug 2, 2024
1 parent 52330d3 commit 6cd12b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ cat > "$SPEC" << EOF
%bcond_without python2
%endif
# build csdiff-static on RHEL-10+ and Fedora
%if 0%{?rhel} > 9 || 0%{?fedora}
# build csdiff-static on 64bit RHEL-10+ and Fedora
%if 0%{?__isa_bits} == 64 && (0%{?rhel} > 9 || 0%{?fedora})
%bcond_without static
%else
%bcond_with static
Expand Down

0 comments on commit 6cd12b1

Please sign in to comment.