Browse code

configure: report optimization for size separately

This removes an unsightly override of the 'optimizations' setting
only to make the configure report print 'small' when --enable-small
is used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f082a0fb420f0367bdd00219fd0fe8fe3caf7bc7)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>

Mans Rullgard authored on 2011/06/20 02:41:14
Showing 1 changed files
... ...
@@ -3006,7 +3006,6 @@ fi
3006 3006
 
3007 3007
 if enabled small; then
3008 3008
     add_cflags $size_cflags
3009
-    optimizations="small"
3010 3009
 elif enabled optimizations; then
3011 3010
     add_cflags $speed_cflags
3012 3011
 else
... ...
@@ -3140,6 +3139,7 @@ if enabled sparc; then
3140 3140
     echo "VIS enabled               ${vis-no}"
3141 3141
 fi
3142 3142
 echo "debug symbols             ${debug-no}"
3143
+echo "optimize for size         ${small-no}"
3143 3144
 echo "optimizations             ${optimizations-no}"
3144 3145
 echo "static                    ${static-no}"
3145 3146
 echo "shared                    ${shared-no}"