aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohannes Schickel2013-01-31 01:22:56 +0100
committerJohannes Schickel2013-01-31 01:26:00 +0100
commit0c5bcc3be8dcc822fae50ac41417def73f159a8c (patch)
treef5287e86871f03512af546a1a9f2703abd474d25 /configure
parent3a7627812d9ce50408ec4eab2381e8072c733bf1 (diff)
downloadscummvm-rg350-0c5bcc3be8dcc822fae50ac41417def73f159a8c.tar.gz
scummvm-rg350-0c5bcc3be8dcc822fae50ac41417def73f159a8c.tar.bz2
scummvm-rg350-0c5bcc3be8dcc822fae50ac41417def73f159a8c.zip
CONFIGURE: Use -O3 for OpenPandora when optimizations are requested.
Formerly -O3 was only used for release builds.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
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"