v8: fix build with newer gcc
This commit is contained in:
parent
0e1a1748f4
commit
604d201b7c
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user