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>
This commit is contained in:
parent
26f48752fb
commit
6a34f5d447
2
configure
vendored
2
configure
vendored
@ -3006,7 +3006,6 @@ fi
|
|||||||
|
|
||||||
if enabled small; then
|
if enabled small; then
|
||||||
add_cflags $size_cflags
|
add_cflags $size_cflags
|
||||||
optimizations="small"
|
|
||||||
elif enabled optimizations; then
|
elif enabled optimizations; then
|
||||||
add_cflags $speed_cflags
|
add_cflags $speed_cflags
|
||||||
else
|
else
|
||||||
@ -3140,6 +3139,7 @@ if enabled sparc; then
|
|||||||
echo "VIS enabled ${vis-no}"
|
echo "VIS enabled ${vis-no}"
|
||||||
fi
|
fi
|
||||||
echo "debug symbols ${debug-no}"
|
echo "debug symbols ${debug-no}"
|
||||||
|
echo "optimize for size ${small-no}"
|
||||||
echo "optimizations ${optimizations-no}"
|
echo "optimizations ${optimizations-no}"
|
||||||
echo "static ${static-no}"
|
echo "static ${static-no}"
|
||||||
echo "shared ${shared-no}"
|
echo "shared ${shared-no}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user