From 0a6db2a25a70e3e8fb414e361719152a9e7e9766 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 16 May 2011 16:16:14 +0200 Subject: configure: Do not unconditionally add -Wall to host CFLAGS. Some compilers choke on -Wall, so only add the flag after checking it works. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 634edd54d3..b63330cbff 100644 --- 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 <