v8: build with gcc6 on linux

doesn't build with gcc 7 due to this issue in upstream code:
https://bugs.chromium.org/p/chromium/issues/detail?id=614289
This commit is contained in:
xeji 2018-03-08 12:14:43 +01:00
parent 3476508443
commit aa5a07977e

View File

@ -11595,11 +11595,14 @@ with pkgs;
inherit (python2Packages) python; inherit (python2Packages) python;
}; };
v8 = callPackage ../development/libraries/v8 { v8 = callPackage ../development/libraries/v8 ({
inherit (python2Packages) python gyp; inherit (python2Packages) python gyp;
cctools = darwin.cctools; cctools = darwin.cctools;
icu = icu58; # v8-5.4.232 fails against icu4c-59.1 icu = icu58; # v8-5.4.232 fails against icu4c-59.1
}; } // lib.optionalAttrs stdenv.isLinux {
# doesn't build with gcc7
stdenv = overrideCC stdenv gcc6;
});
v8_static = lowPrio (self.v8.override { static = true; }); v8_static = lowPrio (self.v8.override { static = true; });