mirror of https://github.com/koreader/koreader
add -fno-finite-math-only in KOPT_CFLAGS
In some compilation platform if finite-math-only option is turned on, math functions like exp and sqrt will be dynamically linked to finite versions which cannot be located in Kindle's GLIBC. In my toolchain the symbol __exp_finite cannot be found in GLIBC_2.4 so gcc just use __exp_finite in GLIBC_2.15, which will cause a run time error in Kindle saying "version GLIBC_2.15 not found"pull/2/merge
parent
ec03261dc6
commit
f10feb9b94
Loading…
Reference in New Issue