Merge pull request #272185 from wegank/cbc-clang
cbc: fix build with clang 16
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user