diff options
author | Dima <dgoldin+github@protonmail.ch> | 2019-10-07 01:16:08 +0200 |
---|---|---|
committer | Dima <dgoldin+github@protonmail.ch> | 2019-10-07 11:22:35 +0200 |
commit | 2a1f30259c91b08edb867c3f67467d982d8bd454 (patch) | |
tree | a4c4227daf50929a19f6829e470de96bce339ef8 /pkgs/development/libraries/v8 | |
parent | da089d7d401f99e1c6ccaf5c017878d33260b4e0 (diff) |
{v8, v8_6_x}: fix log output exceeded w. GCC8
This reduces the log size to ~1MB.
Diffstat (limited to 'pkgs/development/libraries/v8')
-rw-r--r-- | pkgs/development/libraries/v8/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/v8/default.nix b/pkgs/development/libraries/v8/default.nix index fa2a0f4f59460..4e9336172ad98 100644 --- a/pkgs/development/libraries/v8/default.nix +++ b/pkgs/development/libraries/v8/default.nix @@ -97,6 +97,10 @@ stdenv.mkDerivation rec { ''v8_snapshot_toolchain="//build/toolchain/linux/unbundle:default"'' ] ++ stdenv.lib.optional stdenv.cc.isClang ''clang_base_path="${stdenv.cc}"''; + # with gcc8, -Wclass-memaccess became part of -Wall and causes logging limit + # to be exceeded + NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isGNU "-Wno-class-memaccess"; + nativeBuildInputs = [ gn ninja pkgconfig python ] ++ stdenv.lib.optionals stdenv.isDarwin [ xcbuild darwin.DarwinTools ]; buildInputs = [ glib icu ]; |