i965/vec4: Change vec4_visitor::swizzle_result() method to allow reuse
[mesa.git] / configure.ac
index dc9272d30168f1c54fa6a2606cea92f84cb29a6b..36197d3396a1c8ed69872549c307c8d35c5e9c07 100644 (file)
@@ -286,8 +286,8 @@ if test "x$GCC" = xyes; then
     # Work around aliasing bugs - developers should comment this out
     CFLAGS="$CFLAGS -fno-strict-aliasing"
 
-    # We don't want floating-point math functions to set errno
-    CFLAGS="$CFLAGS -fno-math-errno"
+    # We don't want floating-point math functions to set errno or trap
+    CFLAGS="$CFLAGS -fno-math-errno -fno-trapping-math"
 
     # gcc's builtin memcmp is slower than glibc's
     # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052