summaryrefslogtreecommitdiff
path: root/acinclude
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2009-10-11 06:44:50 +0000
committerSam Lantinga <slouken@libsdl.org>2009-10-11 06:44:50 +0000
commit791c46aacc461d25aeda2b186cc1a1a9222ac077 (patch)
tree684a4f9a780ad58fff467d116d89747515368995 /acinclude
parent5d856f693fe78791140ae7f38f926172814f31d3 (diff)
downloadsdl-791c46aacc461d25aeda2b186cc1a1a9222ac077.tar.gz
Fixed bug #31
Set the default optimization level to -O3
Diffstat (limited to 'acinclude')
-rw-r--r--acinclude/c.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/acinclude/c.m4 b/acinclude/c.m4
index 6e250eedc..0318ae1e6 100644
--- a/acinclude/c.m4
+++ b/acinclude/c.m4
@@ -626,13 +626,13 @@ if test "$ac_test_CFLAGS" = set; then
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 @@ if test "$ac_test_CXXFLAGS" = set; then
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 @@ if test "$ac_test_OBJCFLAGS" = set; then
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