Skip to content

Commit

Permalink
pcmsolver: fix build with gcc-14 (#368190)
Browse files Browse the repository at this point in the history
  • Loading branch information
markuskowa authored Dec 27, 2024
2 parents 95118d6 + dcb0606 commit 8d86075
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/by-name/pc/pcmsolver/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ stdenv.mkDerivation rec {
zlib
];

# Required for build with gcc-14
env.NIX_CFLAGS_COMPILE = "-std=c++14";

cmakeFlags = [ "-DENABLE_OPENMP=ON" ];

hardeningDisable = [ "format" ];
Expand Down

0 comments on commit 8d86075

Please sign in to comment.