mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
configure: Simplify, remove an unnecessary intermediate variable
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -4693,8 +4693,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for pfx in "" host_; do
|
for pfx in "" host_; do
|
||||||
pfx_no_=${pfx%_}
|
varname=${pfx%_}cc_type
|
||||||
varname=${pfx_no_}cc_type
|
|
||||||
eval "type=\$$varname"
|
eval "type=\$$varname"
|
||||||
if [ $type = "msvc" ]; then
|
if [ $type = "msvc" ]; then
|
||||||
check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline
|
check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline
|
||||||
|
|||||||
Reference in New Issue
Block a user