Skip to content

Commit

Permalink
v8: fix clang build
Browse files Browse the repository at this point in the history
/cc ZHF #36454
  • Loading branch information
LnL7 committed Mar 12, 2018
1 parent 8eca635 commit 0c629e9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/libraries/v8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,11 @@ stdenv.mkDerivation rec {
'';

nativeBuildInputs = [ which ];
buildInputs = [ readline python icu patchelf ]
++ stdenv.lib.optionals stdenv.isDarwin [ cctools ];
buildInputs = [ readline python icu ]
++ stdenv.lib.optional stdenv.isDarwin cctools
++ stdenv.lib.optional stdenv.isLinux patchelf;

NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow -Wno-error=unused-function -Wno-error=attributes";
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow -Wno-error=unused-function -Wno-error=attributes -Wno-error=unused-lambda-capture";

buildFlags = [
"LINK=c++"
Expand Down

0 comments on commit 0c629e9

Please sign in to comment.