From d6981cb508c050accdc879e6b4886193751ae72f Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Mon, 19 Jul 2010 18:07:09 +0200 Subject: build: Enable configure --enable-werror This passes -Werror to gcc when building curl and libcurl, allowing easy dection of compile warnings. Signed-off-by: Ben Greear --- lib/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 53d65dedd..89bc1fd3e 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -44,6 +44,9 @@ CLEANFILES = $(DSP) $(VCPROJ) lib_LTLIBRARIES = libcurl.la LIBCURL_LIBS = @LIBCURL_LIBS@ +# This might hold -Werror +CFLAGS += @CURL_CFLAG_EXTRAS@ + # Specify our include paths here, and do it relative to $(top_srcdir) and # $(top_builddir), to ensure that these paths which belong to the library # being currently built and tested are searched before the library which -- cgit v1.2.3