strelka: fix build w/ gcc9
This commit is contained in:
parent
7cf1d11a3e
commit
a88fc6be6d
@ -14,7 +14,10 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ zlib python2 ];
|
buildInputs = [ zlib python2 ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=maybe-uninitialized" ];
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-Wno-error=maybe-uninitialized"
|
||||||
|
"-Wno-error=pessimizing-move"
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
|
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
|
||||||
|
Loading…
Reference in New Issue
Block a user