]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix lto_cflags definition
authorMichael Schroeder <mls@suse.de>
Mon, 14 Oct 2019 10:06:09 +0000 (12:06 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 14 Oct 2019 10:06:09 +0000 (12:06 +0200)
package/libsolv.spec.in

index b8985d5e24433d2cb785d9097421b18b506ae107..cd56c6744594e7dc108e39db3d04580d0087fba2 100644 (file)
@@ -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"