v8: fix build on x86_64-darwin

This commit is contained in:
Weijia Wang 2023-01-21 18:25:58 +01:00
parent 4141729d9c
commit 31e1a8e317

View File

@ -105,6 +105,10 @@ stdenv.mkDerivation rec {
--replace 'current_toolchain == host_toolchain || !use_xcode_clang' \
'false'
''}
${lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
substituteInPlace build/config/compiler/BUILD.gn \
--replace "-Wl,-fatal_warnings" ""
''}
touch build/config/gclient_args.gni
'';