Fix SRPM build failure

We need 0%%{?__isa_bits} instead of %%{?__isa_bits} or %%{__isa_bits},
because the __isa_bits macro is not defined at SRPM build time.
This commit is contained in:
Benjamin A. Beasley 2023-02-22 08:29:47 -05:00
parent 592c818131
commit c790c7c734
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ sed -e "s|^\(CXXFLAGS = \).*|\1%{optflags} $RPM_LD_FLAGS|" \
%build
%set_build_flags
%if %{?__isa_bits} == 32
%if 0%{?__isa_bits} == 32
# Reduce the debuginfo level to avoid virtual memory exhaustion
CXXFLAGS="${CXXFLAGS-} -g1"
%endif