On Thu, Jan 25, 2018 at 2:53 PM, Sérgio Basto <sergio@xxxxxxxxxx> wrote:
Hi,
Question about gcc cflag ffast-math .
Should I enable cflag ffast-math on opencv build explicitly
( -DENABLE_FAST_MATH=ON ) ? and I keep disable cflag ffast-math in mlt
build [1] ?
I have no meaningful comment on compiling with -ffast-math, but you absolutely should not *link* with -ffast-math. See:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
Also, if any toolchain people are listening, maybe you could consider fixing the GCC bug? It should be easy, since it mostly consists of option tweaking.
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx