Merge pull request #304937 from viraptor/csmith-std-fix
csmith: fix build with explicit std
This commit is contained in:
commit
53ddbd41e9
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ m4 makeWrapper ];
|
nativeBuildInputs = [ m4 makeWrapper ];
|
||||||
buildInputs = [ libbsd ] ++ (with perlPackages; [ perl SysCPU ]);
|
buildInputs = [ libbsd ] ++ (with perlPackages; [ perl SysCPU ]);
|
||||||
|
|
||||||
|
CXXFLAGS = "-std=c++98";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/bin/compiler_test.pl \
|
substituteInPlace $out/bin/compiler_test.pl \
|
||||||
--replace '$CSMITH_HOME/runtime' $out/include/${pname}-${version} \
|
--replace '$CSMITH_HOME/runtime' $out/include/${pname}-${version} \
|
||||||
|
Loading…
Reference in New Issue
Block a user