v8: Fix compilation issue with gcc4.9+
This commit is contained in:
parent
ccf48cea4d
commit
14961c8781
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1gpf2xvhxfs5ll3m2jlslsx9jfjbmrbz55iq362plflrvf8mbxhj";
|
sha256 = "1gpf2xvhxfs5ll3m2jlslsx9jfjbmrbz55iq362plflrvf8mbxhj";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's/-Werror//' build/standalone.gypi build/common.gypi
|
||||||
|
'';
|
||||||
|
|
||||||
configurePhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
configurePhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
ln -s /usr/bin/xcodebuild $TMPDIR
|
ln -s /usr/bin/xcodebuild $TMPDIR
|
||||||
export PATH=$TMPDIR:$PATH
|
export PATH=$TMPDIR:$PATH
|
||||||
|
@ -8340,7 +8340,6 @@ let
|
|||||||
|
|
||||||
v8_3_16_14 = callPackage ../development/libraries/v8/3.16.14.nix {
|
v8_3_16_14 = callPackage ../development/libraries/v8/3.16.14.nix {
|
||||||
inherit (pythonPackages) gyp;
|
inherit (pythonPackages) gyp;
|
||||||
stdenv = overrideCC stdenv gcc48;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
v8_3_24_10 = callPackage ../development/libraries/v8/3.24.10.nix {
|
v8_3_24_10 = callPackage ../development/libraries/v8/3.24.10.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user