v8: fix build on aarch64

wip/yesman
WilliButz 5 years ago
parent dad77d59cb
commit 0e879bfe8d
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2
  1. 5
      pkgs/development/libraries/v8/default.nix

@ -73,6 +73,11 @@ stdenv.mkDerivation rec {
chmod u+w -R .
'';
postPatch = stdenv.lib.optionalString stdenv.isAarch64 ''
substituteInPlace build/toolchain/linux/BUILD.gn \
--replace 'toolprefix = "aarch64-linux-gnu-"' 'toolprefix = ""'
'';
gnFlags = [
"use_custom_libcxx=false"
"is_clang=${if stdenv.cc.isClang then "true" else "false"}"

Loading…
Cancel
Save