summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-03 16:18:14 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-03 16:18:14 +0000
commita73889a4f36cb45785225c411d5091bf7d1ab4ce (patch)
tree48484308dfc5e5249d64388822e6c5d94eb1bbcd /Makefile
parent9d372f41fb7db5d5c0962d49f00a6ba5b7fd76fd (diff)
downloadlibcss-a73889a4f36cb45785225c411d5091bf7d1ab4ce.tar.gz
libcss-a73889a4f36cb45785225c411d5091bf7d1ab4ce.tar.bz2
Reinstate -Werror for GCC2
svn path=/trunk/libcss/; revision=9019
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 545badf..c9b1342 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 -pedantic
+ -Wmissing-declarations -Wnested-externs -Werror -pedantic
ifneq ($(GCCVER),2)
- WARNFLAGS := $(WARNFLAGS) -Werror -Wextra
+ WARNFLAGS := $(WARNFLAGS) -Wextra
endif
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)