i965/vec4: Change vec4_visitor::swizzle_result() method to allow reuse
[mesa.git] / configure.ac
index 248f618317200796efc29972c40924109f2effc1..36197d3396a1c8ed69872549c307c8d35c5e9c07 100644 (file)
@@ -286,6 +286,9 @@ 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 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
     CFLAGS="$CFLAGS -fno-builtin-memcmp"