about summary refs log tree commit diff
path: root/pkgs/applications/science/logic/z3/4.4.0.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/logic/z3/4.4.0.nix')
-rw-r--r--pkgs/applications/science/logic/z3/4.4.0.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/science/logic/z3/4.4.0.nix b/pkgs/applications/science/logic/z3/4.4.0.nix
index a3d6c16fb7df2..857bbbdee5d00 100644
--- a/pkgs/applications/science/logic/z3/4.4.0.nix
+++ b/pkgs/applications/science/logic/z3/4.4.0.nix
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
   buildInputs = [ python ];
   enableParallelBuilding = true;
 
+  CXXFLAGS = if stdenv.isDarwin then "-std=gnu++98" else null;
+
   configurePhase = "python scripts/mk_make.py --prefix=$out && cd build";
 
   # z3's install phase is stupid because it tries to calculate the