Skip to content

Commit cdf0283

Browse files
committed
firefox: fixup build on aarch64-linux
It's the issue with old libgcc_s propagated via our glibc package; e.g. NixOS#209113
1 parent fd82d2b commit cdf0283

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • pkgs/applications/networking/browsers/firefox

pkgs/applications/networking/browsers/firefox/common.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,8 @@ buildStdenv.mkDerivation ({
471471
separateDebugInfo = enableDebugSymbols;
472472
enableParallelBuilding = true;
473473

474+
NIX_LDFLAGS = if (with stdenv; isAarch64 && isLinux) then [ "-lgcc" ] else null;
475+
474476
# tests were disabled in configureFlags
475477
doCheck = false;
476478

0 commit comments

Comments
 (0)