Merge pull request #272185 from wegank/cbc-clang

cbc: fix build with clang 16
This commit is contained in:
Weijia Wang
2023-12-05 11:48:51 +01:00
committed by GitHub
@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
};
# or-tools has a hard dependency on Cbc static libraries, so we build both
configureFlags = [ "-C" "--enable-static" ];
configureFlags = [ "-C" "--enable-static" ]
++ lib.optionals stdenv.cc.isClang [ "CXXFLAGS=-std=c++14" ];
enableParallelBuilding = true;