From 8d742758de79717be57b6049bc4087e6f94cb8d8 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Mon, 16 Sep 2024 13:01:52 +0200 Subject: [PATCH] symmetrica: compile for c99 --- pkgs/applications/science/math/symmetrica/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/science/math/symmetrica/default.nix b/pkgs/applications/science/math/symmetrica/default.nix index d6ec352d32a2..f215ec0037d4 100644 --- a/pkgs/applications/science/math/symmetrica/default.nix +++ b/pkgs/applications/science/math/symmetrica/default.nix @@ -23,6 +23,10 @@ stdenv.mkDerivation rec { autoreconfHook ]; + # clang warning: passing arguments to '...' without a prototype is deprecated + # in all versions of C and is not supported in C23. + CFLAGS = "-std=c99 -Wno-deprecated-non-prototype"; + enableParallelBuilding = true; meta = with lib; {