From 2a194acd95d7a55fd91193bd1c3874e7b11ce421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sun, 17 Jan 2010 19:05:50 +0000 Subject: [PATCH] configure: pass extra flags to check_cc from check_ld Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- GitLab