diff options
author | Martin Stransky <stransky@redhat.com> | 2020-12-09 21:46:07 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2020-12-09 21:46:07 +0100 |
commit | 196b61c3826d3b1ef1aada3937cc32f441d4812e (patch) | |
tree | c864d3f66a4718b333a66eaeca668fe21798d912 | |
parent | Added missing patch (diff) | |
download | librewolf-fedora-ff-196b61c3826d3b1ef1aada3937cc32f441d4812e.tar.gz librewolf-fedora-ff-196b61c3826d3b1ef1aada3937cc32f441d4812e.tar.bz2 librewolf-fedora-ff-196b61c3826d3b1ef1aada3937cc32f441d4812e.zip |
Disable global lto
-rw-r--r-- | firefox.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec index b6bbbc3..071dc6a 100644 --- a/firefox.spec +++ b/firefox.spec @@ -534,8 +534,10 @@ chmod a-x third_party/rust/ash/src/extensions/khr/*.rs #--------------------------------------------------------------------- %build -%if 0%{?use_bundled_cbindgen} +# Disable LTO to work around rhbz#1883904 +%define _lto_cflags %{nil} +%if 0%{?use_bundled_cbindgen} mkdir -p my_rust_vendor cd my_rust_vendor %{__tar} xf %{SOURCE2} @@ -550,8 +552,8 @@ EOL env CARGO_HOME=.cargo cargo install cbindgen export PATH=`pwd`/.cargo/bin:$PATH -%endif cd - +%endif #echo "Generate big endian version of config/external/icu/data/icudt67l.dat" #%if 0%{?big_endian} |