summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2009-04-24 23:49:26 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2009-04-24 23:49:26 +0000
commitfc06ab826e14f3bcdce7a0193f91261268063eb8 (patch)
tree5e6e8c8521f41214875e5746f3842d08b793a44b /Makefile
parent688096d2c6fb3341f719997fcbf6d63ae87de786 (diff)
downloadlibparserutils-fc06ab826e14f3bcdce7a0193f91261268063eb8.tar.gz
libparserutils-fc06ab826e14f3bcdce7a0193f91261268063eb8.tar.bz2
Don't even think about -Werror with gcc2...
svn path=/trunk/libparserutils/; revision=7309
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5fd670e..283ea80 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/ \