summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2009-08-02 08:30:31 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2009-08-02 08:30:31 +0000
commit82bec7c3c947784b7fac7b63c4d7412e2491d740 (patch)
tree2821a1e67a08e57c3eeb847a6d7825663aa4542c
parentd94440a7c503df32d24b4ae76fa11a8c076d677d (diff)
downloadlibwapcaplet-82bec7c3c947784b7fac7b63c4d7412e2491d740.tar.gz
libwapcaplet-82bec7c3c947784b7fac7b63c4d7412e2491d740.tar.bz2
Sorry, but -Werror on gcc2 is asking for trouble here...
svn path=/trunk/libwapcaplet/; revision=8979
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ffb84c1..380365a 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,9 @@ TESTRUNNER = $(BUILDDIR)/test_testrunner$(EXEEXT)
# Toolchain flags
WARNFLAGS := -Wall -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
- -Wmissing-declarations -Wnested-externs -Werror -pedantic
+ -Wmissing-declarations -Wnested-externs -pedantic
ifneq ($(GCCVER),2)
- WARNFLAGS := $(WARNFLAGS) -Wextra
+ WARNFLAGS := $(WARNFLAGS) -Werror -Wextra
endif
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)