Merge pull request #310508 from veprbl/pr/nlojet_cxx11

nlojet: compile with c++11
This commit is contained in:
Weijia Wang 2024-05-10 09:44:59 +02:00 committed by GitHub
commit 82b3012809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
./nlojet_clang_fix.patch
];
env.CXXFLAGS="-std=c++11";
# error: no member named 'finite' in the global namespace; did you mean simply 'finite'?
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dfinite=isfinite";