{v8, v8_6_x}: fix log output exceeded w. GCC8
This reduces the log size to ~1MB.
This commit is contained in:
parent
da089d7d40
commit
2a1f30259c
|
@ -97,6 +97,10 @@ stdenv.mkDerivation rec {
|
||||||
''v8_snapshot_toolchain="//build/toolchain/linux/unbundle:default"''
|
''v8_snapshot_toolchain="//build/toolchain/linux/unbundle:default"''
|
||||||
] ++ stdenv.lib.optional stdenv.cc.isClang ''clang_base_path="${stdenv.cc}"'';
|
] ++ 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 ]
|
nativeBuildInputs = [ gn ninja pkgconfig python ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ xcbuild darwin.DarwinTools ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ xcbuild darwin.DarwinTools ];
|
||||||
buildInputs = [ glib icu ];
|
buildInputs = [ glib icu ];
|
||||||
|
|
Loading…
Reference in New Issue