]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix -Werror handling.
authorSimon Josefsson <simon@josefsson.org>
Fri, 8 May 2009 13:32:59 +0000 (15:32 +0200)
committerSimon Josefsson <simon@josefsson.org>
Fri, 8 May 2009 13:32:59 +0000 (15:32 +0200)
cfg.mk

diff --git a/cfg.mk b/cfg.mk
index d74dec3d01d47eb0ae4d055386a7521e2c4a9c2b..952726a30a65b6854c31f2fc6fe0ea61144720c4 100644 (file)
--- 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