cbc: fix build with clang 16

+2 -1
+2 -1
pkgs/applications/science/math/cbc/default.nix
··· 13 13 }; 14 14 15 15 # or-tools has a hard dependency on Cbc static libraries, so we build both 16 - configureFlags = [ "-C" "--enable-static" ]; 16 + configureFlags = [ "-C" "--enable-static" ] 17 + ++ lib.optionals stdenv.cc.isClang [ "CXXFLAGS=-std=c++14" ]; 17 18 18 19 enableParallelBuilding = true; 19 20