use explicit lto value
authorJan Palus <atler@pld-linux.org>
Tue, 13 Jul 2021 19:17:13 +0000 (21:17 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 13 Jul 2021 19:17:13 +0000 (21:17 +0200)
"cross" for lto of both c++ and rust code, same as builds from mozilla

firefox.spec

index cf1c93aeaf1b8ec3601c06a2cb4d1d4acce113a4..7b95a315f5f1ef64967e943c199413616e07f3d9 100644 (file)
@@ -2160,7 +2160,7 @@ ac_add_options --disable-elf-hack
 ac_add_options --enable-gpsd
 %endif
 %if %{with lto}
 ac_add_options --enable-gpsd
 %endif
 %if %{with lto}
-ac_add_options --enable-lto
+ac_add_options --enable-lto=cross
 %endif
 %{?with_clang:ac_add_options --enable-linker=lld}
 %{?with_shared_js:ac_add_options --enable-shared-js}
 %endif
 %{?with_clang:ac_add_options --enable-linker=lld}
 %{?with_shared_js:ac_add_options --enable-shared-js}
This page took 0.075698 seconds and 4 git commands to generate.