CONFIGURE: Use -O3 for OpenPandora when optimizations are requested.
Formerly -O3 was only used for release builds.
This commit is contained in:
parent
3a7627812d
commit
0c5bcc3be8
1 changed files with 5 additions and 2 deletions
7
configure
vendored
7
configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue