diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-01-13 10:03:32 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-01-13 10:03:32 +0100 |
commit | 77a214e764811aa5f4d3d4385439de4b28921171 (patch) | |
tree | 3d6c14a1f2cdd6ea24a969470b517e59a973ad82 /pkgs/development/interpreters | |
parent | ceb05ad4bfe41ad2ffccd8ff6af9daaa842faa15 (diff) |
spidermonkey: fixup build on aarch64-linux
All three versions are the same in this respect.
It's the issue with old libgcc_s propagated via our glibc package; e.g.
https://github.com/NixOS/nixpkgs/pull/209113
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/spidermonkey/common.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/spidermonkey/common.nix b/pkgs/development/interpreters/spidermonkey/common.nix index d12396396da4..a6695082684d 100644 --- a/pkgs/development/interpreters/spidermonkey/common.nix +++ b/pkgs/development/interpreters/spidermonkey/common.nix @@ -149,6 +149,8 @@ stdenv.mkDerivation (finalAttrs: rec { # while we have a double-float toolchain NIX_CFLAGS_COMPILE = lib.optionalString (with stdenv.hostPlatform; isRiscV && is64bit && lib.versionOlder version "91") "-mabi=lp64d"; + NIX_LDFLAGS = if (with stdenv; isAarch64 && isLinux) then [ "-lgcc" ] else null; + postPatch = lib.optionalString (lib.versionOlder version "102") '' # This patch is a manually applied fix of # https://bugzilla.mozilla.org/show_bug.cgi?id=1644600 |