v8: fix build with newer gcc

This commit is contained in:
Vladimír Čunát 2013-08-27 16:16:11 +02:00
parent 0e1a1748f4
commit 604d201b7c

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation {
ln -sv ${gyp}/bin/gyp build/gyp/gyp
'';
nativeBuildInputs = stdenv.lib.optional (system == "i686-linux") which;
nativeBuildInputs = [ which ];
buildInputs = [ readline python ];
buildFlags = [
@ -35,6 +35,9 @@ stdenv.mkDerivation {
"${arch}.release"
];
# http://code.google.com/p/v8/issues/detail?id=2149
NIX_CFLAGS_COMPILE = "-Wno-unused-local-typedefs -Wno-aggressive-loop-optimizations";
enableParallelBuilding = true;
installPhase = ''