summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-08 15:32:59 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-08 15:32:59 +0200
commit08c49d6067b908b3ddd403b3f91e990986c51f00 (patch)
treef4e06315183aafdc4b0658bd7cdca22f81724d36
parentcc6e287906b1601a4ebfab3c496be0b250663e8f (diff)
downloadgnutls-08c49d6067b908b3ddd403b3f91e990986c51f00.tar.gz
Fix -Werror handling.
-rw-r--r--cfg.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index d74dec3d01..952726a30a 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -18,6 +18,7 @@
# along with this file; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+WFLAGS ?= WARN_CFLAGS=-Werror
CFGFLAGS ?= --enable-gtk-doc
INDENT_SOURCES = `find . -name \*.c|grep -v -e ^./lgl -e ^./gl -e ^./src/cfg -e -gaa.c -e asn1_tab.c`
@@ -50,7 +51,7 @@ update-po: refresh-po
git commit -m "Sync with TP." $(PODIR)/LINGUAS $(PODIR)/*.po.in
bootstrap: autoreconf
- WARN_CFLAGS=-Werror ./configure $(CFGFLAGS)
+ $(WFLAGS) ./configure $(CFGFLAGS)
# Code Coverage