Commit 2a194acd authored by Måns Rullgård's avatar Måns Rullgård

configure: pass extra flags to check_cc from check_ld

Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ade5b91d
......@@ -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
}
......
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