Module: Mesa Branch: master Commit: 2fdbbeca43e7b57095774e4228e6eea75a180fab URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fdbbeca43e7b57095774e4228e6eea75a180fab
Author: Matt Turner <matts...@gmail.com> Date: Wed Jan 11 19:02:26 2012 -0500 Remove -ffast-math from default CFLAGS Fixes glsl-const-folding-01. inversesqrt(1.0) != 1.0 was evaluating as true. Signed-off-by: Matt Turner <matts...@gmail.com> --- configure.ac | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index f3f5e3e..e13c4cf 100644 --- a/configure.ac +++ b/configure.ac @@ -176,9 +176,6 @@ esac dnl Add flags for gcc and g++ if test "x$GCC" = xyes; then CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -std=c99" - if test "x$CLANG" = "xno"; then - CFLAGS="$CFLAGS -ffast-math" - fi # Enable -fvisibility=hidden if using a gcc that supports it save_CFLAGS="$CFLAGS" _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit