Skip to content

Commit f5d0ff1

Browse files
authored
Merge pull request #282673 from wegank/coinmp-darwin
CoinMP: fix build with clang 16
2 parents ecbaaa8 + 49ee2ab commit f5d0ff1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/development/libraries/CoinMP/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
1111

1212
enableParallelBuilding = true;
1313

14+
env = lib.optionalAttrs stdenv.cc.isClang {
15+
CXXFLAGS = "-std=c++14";
16+
};
17+
1418
hardeningDisable = [ "format" ];
1519

1620
meta = with lib; {

0 commit comments

Comments
 (0)