Skip to content

Commit

Permalink
symmetrica: compile with -std=c99 (NixOS#342275)
Browse files Browse the repository at this point in the history
  • Loading branch information
collares authored Sep 20, 2024
2 parents 2fad7c1 + 8d74275 commit 9799f75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/science/math/symmetrica/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit 9799f75

Please sign in to comment.