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
This commit is contained in:
parent
ceb05ad4bf
commit
77a214e764
|
@ -149,6 +149,8 @@ stdenv.mkDerivation (finalAttrs: rec {
|
||||||
# while we have a double-float toolchain
|
# while we have a double-float toolchain
|
||||||
NIX_CFLAGS_COMPILE = lib.optionalString (with stdenv.hostPlatform; isRiscV && is64bit && lib.versionOlder version "91") "-mabi=lp64d";
|
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") ''
|
postPatch = lib.optionalString (lib.versionOlder version "102") ''
|
||||||
# This patch is a manually applied fix of
|
# This patch is a manually applied fix of
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1644600
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1644600
|
||||||
|
|
Loading…
Reference in a new issue