From 3a7627812d9ce50408ec4eab2381e8072c733bf1 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 26 Jan 2013 15:21:44 +0100 Subject: CONFIGURE: Never enable release_build by default. This changes the default for Caanoo, GP2x, GP2xWiz, OpenPandora and PS2. For those now we only disable debug symbols and enable optimizations by default. --- configure | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 91364eb304..f23d0ade59 100755 --- a/configure +++ b/configure @@ -1425,15 +1425,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 -- cgit v1.2.3 From 0c5bcc3be8dcc822fae50ac41417def73f159a8c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 31 Jan 2013 01:22:56 +0100 Subject: CONFIGURE: Use -O3 for OpenPandora when optimizations are requested. Formerly -O3 was only used for release builds. --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index f23d0ade59..fd0f1dd358 100755 --- a/configure +++ b/configure @@ -2548,10 +2548,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" -- cgit v1.2.3