# HG changeset patch # User Sam Lantinga # Date 1255243490 0 # Node ID a211710ebc3798a627688ee554e445ce849baf59 # Parent c8d350c981fffd8b9a0b6249d95b5634774c5421 Fixed bug #31 Set the default optimization level to -O3 diff -r c8d350c981ff -r a211710ebc37 acinclude/c.m4 --- a/acinclude/c.m4 Sun Oct 11 06:42:20 2009 +0000 +++ b/acinclude/c.m4 Sun Oct 11 06:44:50 2009 +0000 @@ -626,13 +626,13 @@ CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then - CFLAGS="-g -O2" + CFLAGS="-g -O3" else CFLAGS="-g" fi else if test "$GCC" = yes; then - CFLAGS="-O2" + CFLAGS="-O3" else CFLAGS= fi @@ -860,13 +860,13 @@ CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then - CXXFLAGS="-g -O2" + CXXFLAGS="-g -O3" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then - CXXFLAGS="-O2" + CXXFLAGS="-O3" else CXXFLAGS= fi @@ -1030,13 +1030,13 @@ OBJCFLAGS=$ac_save_OBJCFLAGS elif test $ac_cv_prog_objc_g = yes; then if test "$GOBJC" = yes; then - OBJCFLAGS="-g -O2" + OBJCFLAGS="-g -O3" else OBJCFLAGS="-g" fi else if test "$GOBJC" = yes; then - OBJCFLAGS="-O2" + OBJCFLAGS="-O3" else OBJCFLAGS= fi