On Friday, May 20, 2011, Måns Rullgård <[email protected]> wrote: > Diego Biurrun <[email protected]> writes: > >> Some compilers choke on -Wall, so only add the flag after checking it works. >> --- >> configure | 3 ++- >> 1 files changed, 2 insertions(+), 1 deletions(-) >> >> diff --git a/configure b/configure >> index 96867a5..efdd647 100755 >> --- a/configure >> +++ b/configure >> @@ -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) > > OK > > -- > Måns Rullgård > [email protected] > _______________________________________________ > libav-devel mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-devel >
\o/ Thank you! -- Sean McG _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
