nlojet: compile with c++11
This commit is contained in:
parent
d5c611fcf5
commit
eb7e446388
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue