diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-05-16 16:16:14 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-20 17:52:24 +0200 |
commit | 0a6db2a25a70e3e8fb414e361719152a9e7e9766 (patch) | |
tree | 59857de5aed00584a4b0ef29ad9045d3d0b9de90 /configure | |
parent | 9297f1ed15a4707b1b59c5c347d7185ee0bb3ef8 (diff) | |
download | ffmpeg-0a6db2a25a70e3e8fb414e361719152a9e7e9766.tar.gz |
configure: Do not unconditionally add -Wall to host CFLAGS.
Some compilers choke on -Wall, so only add the flag after checking it works.
Diffstat (limited to 'configure')
-rw-r--r-- | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1672,7 +1672,7 @@ LIB_INSTALL_EXTRA_CMD='$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"' CC_O='-o $@' -host_cflags='-D_ISOC99_SOURCE -O3 -g -Wall' +host_cflags='-D_ISOC99_SOURCE -O3 -g' host_libs='-lm' target_path='$(CURDIR)' @@ -2334,6 +2334,7 @@ check_cc -D_LARGEFILE_SOURCE <<EOF && add_cppflags -D_LARGEFILE_SOURCE EOF check_host_cflags -std=c99 +check_host_cflags -Wall case "$arch" in alpha|ia64|mips|parisc|sparc) |