Disable -ffast-math, since it causes broken code on some platforms
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 24 Jul 2006 10:43:12 +0000 (10:43 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 24 Jul 2006 10:43:12 +0000 (10:43 +0000)
git-svn-id: http://svn.voria.com/code@202 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/config/subs.m4

index e7bab1c..2cc6ebe 100755 (executable)
@@ -108,12 +108,12 @@ AC_DEFUN([AC_ARG_OPTIMIZATION],
        optimization_flags=''
        case "$optimization" in
                0|no)   optimization_flags="-O0";;
-               1)              optimization_flags="-O1 -ffast-math";;
-               2|yes)  optimization_flags="-O2 -ffast-math";;
-               pass1)  optimization_flags="-O2 -ffast-math -fprofile-arcs";;
-               pass2)  optimization_flags="-O2 -ffast-math -fbranch-probabilities";;
-               3)              optimization_flags="-O3 -ffast-math";;
-               *)              optimization_flags="-O4 -ffast-math";;
+               1)              optimization_flags="-O1";;
+               2|yes)  optimization_flags="-O2";;
+               pass1)  optimization_flags="-O2 -fprofile-arcs";;
+               pass2)  optimization_flags="-O2 -fbranch-probabilities";;
+               3)              optimization_flags="-O3";;
+               *)              optimization_flags="-O4";;
        esac
        CXXFLAGS="`echo $CXXFLAGS | sed 's:-O.::g'` $optimization_flags"
        CFLAGS="`echo $CFLAGS | sed 's:-O.::g'` $optimization_flags"