%setup -q
%build
+%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"
%py3_compile %{buildroot}/%{python3_sitearch}
%endif
%endif
-%if %{with static}
-# we want to leave the .a file untouched
-export NO_BRP_STRIP_DEBUG=true
-%endif
%check
make ARGS=--output-on-failure test