Commit 30face09 authored by mru's avatar mru

configure: pass extra flags to check_cc from check_ld

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21264 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fb209451
......@@ -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