configure: pass extra flags to check_cc from check_ld

Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Måns Rullgård 15 years ago
parent ade5b91dda
commit 2a194acd95
  1. 2
      configure

2
configure vendored

@ -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
}

Loading…
Cancel
Save