summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-18 15:13:50 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-18 15:13:50 +0200
commit166b66760c8cab9e697279a0a25f9bbd457f1692 (patch)
tree291252c5e52e973aae5f93e7236207c3ca1c45b7 /cfg.mk
parentdf351273d408ecc142394ae587021551c28ae42e (diff)
downloadgnutls-166b66760c8cab9e697279a0a25f9bbd457f1692.tar.gz
Don't build with warnings all the time. Use a WERROR_CFLAGS.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/cfg.mk b/cfg.mk
index 1ceb691dbd..db54e7b947 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -18,9 +18,9 @@
# 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
+WFLAGS ?= --enable-gcc-warnings
ADDFLAGS ?=
-CFGFLAGS ?= --enable-gtk-doc $(ADDFLAGS)
+CFGFLAGS ?= --enable-gtk-doc $(ADDFLAGS) $(WFLAGS)
INDENT_SOURCES = `find . -name \*.c|grep -v -e ^./lgl -e ^./gl -e ^./src/cfg -e -gaa.c -e asn1_tab.c`
@@ -52,7 +52,7 @@ update-po: refresh-po
git commit -m "Sync with TP." $(PODIR)/LINGUAS $(PODIR)/*.po.in
bootstrap: autoreconf
- $(WFLAGS) ./configure $(CFGFLAGS)
+ ./configure $(CFGFLAGS)
glimport:
gnulib-tool --m4-base gl/m4 --import