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.
#209113

(cherry picked from commit cdf0283)
  • Loading branch information
vcunat authored and mweinelt committed Feb 15, 2023
1 parent 6dcefc9 commit 432e3a0
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 432e3a0

Please sign in to comment.