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 --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 3672458ca..f2b4c8c64 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -46,6 +46,9 @@ bin_PROGRAMS = curl include Makefile.inc +# This might hold -Werror +CFLAGS += @CURL_CFLAG_EXTRAS@ + curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la BUILT_SOURCES = hugehelp.c -- cgit v1.2.3