1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

configure: pass extra flags to check_cc from check_ld

Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-01-17 19:05:50 +00:00
parent ade5b91dda
commit 2a194acd95

2
configure vendored
View File

@ -601,12 +601,12 @@ check_yasm(){
check_ld(){
log check_ld "$@"
check_cc || return
flags=''
libs=''
for f; do
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
done
check_cc $($filter_cflags $flags) || return
check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $extralibs $libs
}