v8: Fix compilation issue with gcc4.9+

This commit is contained in:
William A. Kennington III 2015-10-01 10:40:41 -07:00
parent ccf48cea4d
commit 14961c8781
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
sha256 = "1gpf2xvhxfs5ll3m2jlslsx9jfjbmrbz55iq362plflrvf8mbxhj";
};
postPatch = ''
sed -i 's/-Werror//' build/standalone.gypi build/common.gypi
'';
configurePhase = stdenv.lib.optionalString stdenv.isDarwin ''
ln -s /usr/bin/xcodebuild $TMPDIR
export PATH=$TMPDIR:$PATH

View File

@ -8340,7 +8340,6 @@ let
v8_3_16_14 = callPackage ../development/libraries/v8/3.16.14.nix {
inherit (pythonPackages) gyp;
stdenv = overrideCC stdenv gcc48;
};
v8_3_24_10 = callPackage ../development/libraries/v8/3.24.10.nix {