summaryrefslogtreecommitdiff
path: root/package/libsolv.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsolv.spec.in')
-rw-r--r--package/libsolv.spec.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in
index 40d266a..b8985d5 100644
--- a/package/libsolv.spec.in
+++ b/package/libsolv.spec.in
@@ -207,6 +207,7 @@ Perl bindings for libsolv.
%setup -q
%build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"
@@ -257,10 +258,6 @@ ln -s repo2solv %{buildroot}/%{_bindir}/repo2solv.sh
%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