mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
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";
|
||||
};
|
||||
|
||||
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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user