mirror of
https://github.com/curl/curl.git
synced 2026-08-24 10:43:32 +03:00
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>
This commit is contained in:
parent
40ecd6c9b8
commit
d6981cb508
4 changed files with 45 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue