aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-17 19:05:50 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-17 19:05:50 +0000
commit2a194acd95d7a55fd91193bd1c3874e7b11ce421 (patch)
tree1a10a839775eaaeddfa6321d63de74b1ff8248d7
parentade5b91ddade9abaf9eb1063559985341ee9ca2d (diff)
downloadffmpeg-2a194acd95d7a55fd91193bd1c3874e7b11ce421.tar.gz
configure: pass extra flags to check_cc from check_ld
Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 62a7f987d6..04d51aee92 100755
--- a/configure
+++ b/configure
@@ -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
}