diff options
author | Johannes Schickel | 2013-02-07 06:16:56 -0800 |
---|---|---|
committer | Johannes Schickel | 2013-02-07 06:16:56 -0800 |
commit | 9fa5ac35bf177abd1fe40561e12400a6c8ec045a (patch) | |
tree | 4fefaa495f1ce3a794ead5b7c792d979e327898b /configure | |
parent | 511f833032ffa27045fbf5ab6422f1f6831afcb7 (diff) | |
parent | 0c5bcc3be8dcc822fae50ac41417def73f159a8c (diff) | |
download | scummvm-rg350-9fa5ac35bf177abd1fe40561e12400a6c8ec045a.tar.gz scummvm-rg350-9fa5ac35bf177abd1fe40561e12400a6c8ec045a.tar.bz2 scummvm-rg350-9fa5ac35bf177abd1fe40561e12400a6c8ec045a.zip |
Merge pull request #304 from lordhoto/configure-no-release-default
CONFIGURE: Never enable release_build by default.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -1431,15 +1431,10 @@ fi case $_host in caanoo | gp2x | gp2xwiz | openpandora | ps2) if test "$_debug_build" = auto; then - # If you want to debug one of these platforms, use '--disable-release --enable-debug' + # If you want to debug one of these platforms, use '--disable-optimizations --enable-debug' _debug_build=no fi - if test "$_release_build" = auto; then - # Enable release build by default. - _release_build=yes - fi - if test "$_optimizations" = auto; then # Enable optimizations by default. _optimizations=yes @@ -2559,10 +2554,13 @@ if test -n "$_host"; then DEFINES="$DEFINES -DREDUCE_MEMORY_USAGE" if test "$_release_build" = no; then DEFINES="$DEFINES -DOP_DEBUG" - else - # Use -O3 on the OpenPandora for non-debug builds. + fi + + # Use -O3 on the OpenPandora for optimized builds. + if test "$_optimizations" = yes; then _optimization_level=-O3 fi + define_in_config_if_yes yes 'USE_ARM_NEON_ASPECT_CORRECTOR' CXXFLAGS="$CXXFLAGS -march=armv7-a" CXXFLAGS="$CXXFLAGS -mtune=cortex-a8" |