diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2020-10-23 02:50:02 +0200 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2020-10-23 02:51:46 +0200 |
commit | bca15c82d89f37f5cb6cacd9b632edff6979e131 (patch) | |
tree | 721f464b9e7182ce6545da3bbe2986453b1841d6 /pkgs/applications/networking/browsers/firefox | |
parent | 924e5f5cbac08bce7f2e89d35c944686baaade94 (diff) |
firefox: disable LTO by default due to segfaults with wayland
As discussed in #101429 firefox 82 started crashing when used with
wayland. A brief investigation showed that this appears to be rooted
within the LTO support that was recently added to the package. For the
time being, until someone figures out where the crashes are coming from,
we can just disable LTO.
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox')
-rw-r--r-- | pkgs/applications/networking/browsers/firefox/common.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 6c66c3ef8f5b..c787fb5754d5 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -23,7 +23,8 @@ , ffmpegSupport ? true , gtk3Support ? true, gtk2, gtk3, wrapGAppsHook , waylandSupport ? true, libxkbcommon -, ltoSupport ? stdenv.isLinux, overrideCC, buildPackages +# LTO is disabled since it caused segfaults on wayland see https://github.com/NixOS/nixpkgs/issues/10142 +, ltoSupport ? false, overrideCC, buildPackages , gssSupport ? true, kerberos , pipewireSupport ? waylandSupport && webrtcSupport, pipewire |