commit
55423a1be6
@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ which ];
|
nativeBuildInputs = [ which ];
|
||||||
buildInputs = [ readline python icu ];
|
buildInputs = [ readline python icu ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=strict-overflow";
|
||||||
|
|
||||||
buildFlags = [
|
buildFlags = [
|
||||||
"LINK=g++"
|
"LINK=g++"
|
||||||
"-C out"
|
"-C out"
|
||||||
@ -48,6 +50,10 @@ stdenv.mkDerivation rec {
|
|||||||
"BUILDTYPE=Release"
|
"BUILDTYPE=Release"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = stdenv.lib.optionalString (!stdenv.cc.isClang) ''
|
||||||
|
sed -i build/standalone.gyp -e 's,-Wno-format-pedantic,,g'
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user