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.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in
index b8985d5..cd56c67 100644
--- a/package/libsolv.spec.in
+++ b/package/libsolv.spec.in
@@ -207,7 +207,7 @@ Perl bindings for libsolv.
%setup -q
%build
-%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
+%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"