diff options
author | Ben Greear <greearb@candelatech.com> | 2010-07-19 18:07:09 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-07-21 21:29:47 +0200 |
commit | d6981cb508c050accdc879e6b4886193751ae72f (patch) | |
tree | 9caa1ee30cb246434ef4467725e6151447ab80a8 /src/Makefile.am | |
parent | 40ecd6c9b8104019bc210d6cb39dfbf79389550c (diff) | |
download | curl-d6981cb508c050accdc879e6b4886193751ae72f.tar.gz |
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 <greearb@candelatech.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
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 |