Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug #31
Set the default optimization level to -O3
  • Loading branch information
slouken committed Oct 11, 2009
1 parent ddbe04e commit 70bf6a1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions acinclude/c.m4
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 70bf6a1

Please sign in to comment.