aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-13 22:46:10 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-13 22:46:10 +0000
commit19b4c62883b9e441872de382a4f805316123e340 (patch)
treec2524e282aca8993408bc08a37621c29f8444557 /configure
parentb9349ff4ca5c4f202b08b264ba5ec7db799def97 (diff)
downloadffmpeg-19b4c62883b9e441872de382a4f805316123e340.tar.gz
Set default flag filters before compiler detection
This allows use of the add_*flags functions in the compiler detection section. Originally committed as revision 19428 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index e2d6523d64..5a914fbdec 100755
--- a/configure
+++ b/configure
@@ -1477,6 +1477,10 @@ EOF
die "Sanity test failed."
fi
+filter_cflags=echo
+filter_cppflags=echo
+filter_asflags=echo
+
if $cc --version 2>/dev/null | grep -qi gcc; then
cc_type=gcc
elif $cc --version 2>/dev/null | grep -q Intel; then
@@ -1508,10 +1512,6 @@ test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
: ${ld_default:=$cc}
set_default as dep_cc ld
-: ${filter_cflags:=echo}
-: ${filter_cppflags:=echo}
-: ${filter_asflags:=echo}
-
add_cflags $extra_cflags
add_asflags $extra_cflags