Skip to content

Commit

Permalink
firefox: fixup build on aarch64-linux
Browse files Browse the repository at this point in the history
It's the issue with old libgcc_s propagated via our glibc package; e.g.
NixOS#209113

(cherry picked from commit cdf0283)
  • Loading branch information
vcunat authored and winterqt committed Feb 15, 2023
1 parent 2e431b8 commit e5e8f1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/applications/networking/browsers/firefox/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ buildStdenv.mkDerivation ({
separateDebugInfo = enableDebugSymbols;
enableParallelBuilding = true;

NIX_LDFLAGS = if (with stdenv; isAarch64 && isLinux) then [ "-lgcc" ] else null;

# tests were disabled in configureFlags
doCheck = false;

Expand Down

0 comments on commit e5e8f1d

Please sign in to comment.