mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'e4015b00d4e9e40dc1693a018edd51bf7a04993e'
* commit 'e4015b00d4e9e40dc1693a018edd51bf7a04993e': configure: Simplify, remove an unnecessary intermediate variable Merged-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
commit
a74e3fc18b
|
@ -5685,8 +5685,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
|
||||||
|
|
Loading…
Reference in New Issue