summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-11-06 06:40:36 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-11-06 06:40:36 +0000
commit0720128f6b532da3b81b59b9929ad4846fc78657 (patch)
tree41c8ec3712bf7cd194f78ed630518b7f319695bf /Makefile
parent6b81924c2889df53798fa89f59b0d5eefaca3994 (diff)
downloadlibdom-0720128f6b532da3b81b59b9929ad4846fc78657.tar.gz
libdom-0720128f6b532da3b81b59b9929ad4846fc78657.tar.bz2
-Wextra is only understood by GCC 3.4.6 or later.
It is a more descriptive synonym for -W. Use -W instead which is understood by all common versions of GCC (i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support) svn path=/trunk/dom/; revision=9663
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b5474b..7d9a40b 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ include build/makefiles/Makefile.tools
TESTRUNNER := $(PERL) build/testtools/testrunner.pl
# Toolchain flags
-WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
+WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -Werror -pedantic
CFLAGS := -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \