Commit 8bf1a9ae authored by diego's avatar diego

Rename optimize variable to the slightly more meaningful optimizations.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10854 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fa70e030
...@@ -882,7 +882,7 @@ enable ipv6 ...@@ -882,7 +882,7 @@ enable ipv6
enable static enable static
enable mpegaudio_hp enable mpegaudio_hp
enable network enable network
enable optimize enable optimizations
enable protocols enable protocols
vhook="default" vhook="default"
...@@ -982,7 +982,7 @@ for opt do ...@@ -982,7 +982,7 @@ for opt do
;; ;;
--cpu=*) cpu="$optval" --cpu=*) cpu="$optval"
;; ;;
--disable-opts) disable optimize --disable-opts) disable optimizations
;; ;;
--enable-sunmlib) enable mlib --enable-sunmlib) enable mlib
;; ;;
...@@ -1301,7 +1301,7 @@ if test $targetos = darwin; then ...@@ -1301,7 +1301,7 @@ if test $targetos = darwin; then
fi fi
fi fi
disabled optimize || add_cflags -fomit-frame-pointer disabled optimizations || add_cflags -fomit-frame-pointer
# Add processor-specific flags # Add processor-specific flags
if test $cpu != "generic"; then if test $cpu != "generic"; then
...@@ -1703,8 +1703,8 @@ check_ldflags $LDLATEFLAGS ...@@ -1703,8 +1703,8 @@ check_ldflags $LDLATEFLAGS
if enabled small; then if enabled small; then
check_cflags -Os # not all compilers support -Os check_cflags -Os # not all compilers support -Os
optimize="small" optimizations="small"
elif enabled optimize; then elif enabled optimizations; then
if test -n "`$cc -v 2>&1 | grep xlc`"; then if test -n "`$cc -v 2>&1 | grep xlc`"; then
add_cflags "-O5" add_cflags "-O5"
add_ldflags "-O5" add_ldflags "-O5"
...@@ -1785,7 +1785,7 @@ fi ...@@ -1785,7 +1785,7 @@ fi
echo "gprof enabled ${gprof-no}" echo "gprof enabled ${gprof-no}"
echo "debug symbols ${debug-no}" echo "debug symbols ${debug-no}"
echo "strip symbols ${dostrip-no}" echo "strip symbols ${dostrip-no}"
echo "optimize ${optimize-no}" echo "optimizations ${optimizations-no}"
echo "static ${static-no}" echo "static ${static-no}"
echo "shared ${shared-no}" echo "shared ${shared-no}"
echo "postprocessing support ${pp-no}" echo "postprocessing support ${pp-no}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment