about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorStanisław Pitucha <git@viraptor.info>2024-04-26 09:11:03 +1000
committerGitHub <noreply@github.com>2024-04-26 09:11:03 +1000
commit53ddbd41e961df28481dde5b15f1489f0fc1a584 (patch)
treeb1644bbbec2914c57ba45b5b314894f7d6cd6448 /pkgs/development/tools
parent19196d6f992f8bd422b02cc88642f1fec1834a2c (diff)
parentee55a72b1dc96375e63c249f62508760f8e5b313 (diff)
Merge pull request #304937 from viraptor/csmith-std-fix
csmith: fix build with explicit std
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/csmith/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/csmith/default.nix b/pkgs/development/tools/misc/csmith/default.nix
index 0643e81edf999..5371f88c0a87b 100644
--- a/pkgs/development/tools/misc/csmith/default.nix
+++ b/pkgs/development/tools/misc/csmith/default.nix
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ m4 makeWrapper ];
   buildInputs = [ libbsd ] ++ (with perlPackages; [ perl SysCPU ]);
 
+  CXXFLAGS = "-std=c++98";
+
   postInstall = ''
     substituteInPlace $out/bin/compiler_test.pl \
       --replace '$CSMITH_HOME/runtime' $out/include/${pname}-${version} \