speech-tools: is __isnanf, use portable isnan (c99)
This commit is contained in:
parent
ce86490530
commit
92bd681de1
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -e s@/usr/bin/@@g -i $( grep -rl '/usr/bin/' . )
|
sed -e s@/usr/bin/@@g -i $( grep -rl '/usr/bin/' . )
|
||||||
sed -re 's@/bin/(rm|printf|uname)@\1@g' -i $( grep -rl '/bin/' . )
|
sed -re 's@/bin/(rm|printf|uname)@\1@g' -i $( grep -rl '/bin/' . )
|
||||||
|
|
||||||
|
# c99 makes isnan valid for float and double
|
||||||
|
substituteInPlace include/EST_math.h \
|
||||||
|
--replace '__isnanf(X)' 'isnan(X)'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue