Dr. Werner Fink 2024-09-02 10:54:34 +00:00 committed by Git OBS Bridge
parent 01471d61b4
commit d98d2bed84

View File

@ -87,7 +87,11 @@ BuildRequires: pkgconfig(zlib)
# to BuildRequires # to BuildRequires
# #
%global ldflags %{nil} %global ldflags %{nil}
%ifarch %arm ppc ppc64 ppc64le s390 s390x
%global _lto_cflags %{nil}
%else
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%endif
%global rlver %(rpm -q --qf '%%{VERSION}' readline-devel | sed 's/\\.//g') %global rlver %(rpm -q --qf '%%{VERSION}' readline-devel | sed 's/\\.//g')
%define add_optflags(a:f:t:p:w:W:d:g:O:A:C:D:E:H:i:M:n:P:U:u:l:s:X:B:I:L:b:V:m:x:c:S:E:o:v:) \ %define add_optflags(a:f:t:p:w:W:d:g:O:A:C:D:E:H:i:M:n:P:U:u:l:s:X:B:I:L:b:V:m:x:c:S:E:o:v:) \
%global optflags %{optflags} %{**} %global optflags %{optflags} %{**}