Commit fd8af66f authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug #31

Set the default optimization level to -O3

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404050
parent 39b386f9
...@@ -626,13 +626,13 @@ if test "$ac_test_CFLAGS" = set; then ...@@ -626,13 +626,13 @@ if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="-g -O2" CFLAGS="-g -O3"
else else
CFLAGS="-g" CFLAGS="-g"
fi fi
else else
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="-O2" CFLAGS="-O3"
else else
CFLAGS= CFLAGS=
fi fi
...@@ -860,13 +860,13 @@ if test "$ac_test_CXXFLAGS" = set; then ...@@ -860,13 +860,13 @@ if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS=$ac_save_CXXFLAGS CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then if test "$GXX" = yes; then
CXXFLAGS="-g -O2" CXXFLAGS="-g -O3"
else else
CXXFLAGS="-g" CXXFLAGS="-g"
fi fi
else else
if test "$GXX" = yes; then if test "$GXX" = yes; then
CXXFLAGS="-O2" CXXFLAGS="-O3"
else else
CXXFLAGS= CXXFLAGS=
fi fi
...@@ -1030,13 +1030,13 @@ if test "$ac_test_OBJCFLAGS" = set; then ...@@ -1030,13 +1030,13 @@ if test "$ac_test_OBJCFLAGS" = set; then
OBJCFLAGS=$ac_save_OBJCFLAGS OBJCFLAGS=$ac_save_OBJCFLAGS
elif test $ac_cv_prog_objc_g = yes; then elif test $ac_cv_prog_objc_g = yes; then
if test "$GOBJC" = yes; then if test "$GOBJC" = yes; then
OBJCFLAGS="-g -O2" OBJCFLAGS="-g -O3"
else else
OBJCFLAGS="-g" OBJCFLAGS="-g"
fi fi
else else
if test "$GOBJC" = yes; then if test "$GOBJC" = yes; then
OBJCFLAGS="-O2" OBJCFLAGS="-O3"
else else
OBJCFLAGS= OBJCFLAGS=
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment