ebtks: fix build on darwin
This commit is contained in:
parent
abb97f6022
commit
1dfbb1e1f7
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ stdenv.mkDerivation {
|
|||
postPatch = ''
|
||||
substituteInPlace templates/EBTKS/SimpleArray.h \
|
||||
--replace "#define FINITE(x) finite(x)" "#define FINITE(x) isfinite(x)"
|
||||
''
|
||||
# error: ISO C++17 does not allow 'register' storage class specifier
|
||||
+ ''
|
||||
find . -type f -exec sed -i -e 's/register //g' {} +
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
Loading…
Reference in a new issue