Remove -ffast-math from default CFLAGS
authorMatt Turner <mattst88@gmail.com>
Thu, 12 Jan 2012 00:02:26 +0000 (19:02 -0500)
committerMatt Turner <mattst88@gmail.com>
Fri, 20 Jan 2012 19:56:14 +0000 (14:56 -0500)
Fixes glsl-const-folding-01. inversesqrt(1.0) != 1.0 was evaluating as
true.

Signed-off-by: Matt Turner <mattst88@gmail.com>
configure.ac

index f3f5e3e94d27a305ad110feee57f844ae57e101e..e13c4cfc57feafe550a28aa318f7b2d91ba49245 100644 (file)
@@ -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"