diff options
author | Måns Rullgård <mans@mansr.com> | 2009-07-12 13:29:51 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-07-12 13:29:51 +0000 |
commit | 7f32f40c895410963e985c8e92bd8b1250414e62 (patch) | |
tree | 9e3c0dadb95606915a4368479f3be3a80ae9c426 /configure | |
parent | 997f3ba4ef90348397c83563aadc853957e6e566 (diff) | |
download | ffmpeg-7f32f40c895410963e985c8e92bd8b1250414e62.tar.gz |
Add flags from --extra-cflags after compiler detection
Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -996,6 +996,7 @@ CMDLINE_SET=" cpu cross_prefix dep_cc + extra_cflags extra_version host_cc host_cflags @@ -1343,8 +1344,6 @@ show_list() { for opt do optval="${opt#*=}" case "$opt" in - --extra-cflags=*) add_cflags $optval - ;; --extra-ldflags=*) add_ldflags $optval ;; --extra-libs=*) add_extralibs $optval @@ -1494,6 +1493,8 @@ test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc" : ${ld_default:=$cc} set_default as dep_cc ld +add_cflags $extra_cflags + if test -n "$sysroot"; then case "$cc_type" in gcc) |