mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
v8: fix build on x86_64-darwin
This commit is contained in:
parent
4141729d9c
commit
31e1a8e317
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user