From 38a1e9777ace3bc5e2a6dc4bc8ca399c36be21a1 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 13 Jul 2021 21:17:13 +0200 Subject: [PATCH] use explicit lto value "cross" for lto of both c++ and rust code, same as builds from mozilla --- firefox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firefox.spec b/firefox.spec index cf1c93a..7b95a31 100644 --- a/firefox.spec +++ b/firefox.spec @@ -2160,7 +2160,7 @@ ac_add_options --disable-elf-hack 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} -- 2.43.0