summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2009-04-24 23:49:26 (GMT)
committer Fran├žois Revel <mmu_man@netsurf-browser.org>2009-04-24 23:49:26 (GMT)
commit858555fa4d2a9bd44cbb5737d7bb22f10c8f9fef (patch)
treeea746ba0bebf5c224d66e318004a76b7a0ea8296
parenteff29c34f2d18562ce32a6c31a9d600b1dfa7480 (diff)
downloadlibhubbub-858555fa4d2a9bd44cbb5737d7bb22f10c8f9fef.tar.gz
libhubbub-858555fa4d2a9bd44cbb5737d7bb22f10c8f9fef.tar.bz2
Don't even think about -Werror with gcc2...
svn path=/trunk/hubbub/; revision=7309
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ddc0120..a83dea7 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,9 @@ TESTRUNNER := $(PERL) build/testtools/testrunner.pl
# 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) -Wextra -Werror
endif
CFLAGS := $(CFLAGS) -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS)