summaryrefslogtreecommitdiff
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
commit12473b67c2fc5982a1264f200b018db28e9b4001 (patch)
tree48c4d3fffc9b0d9e6c14728883ade432fbc9b4b1
parente6bf0449f39ae72baab261c4b3daf8bdd711135c (diff)
downloadlibnsbmp-12473b67c2fc5982a1264f200b018db28e9b4001.tar.gz
libnsbmp-12473b67c2fc5982a1264f200b018db28e9b4001.tar.bz2
Don't even think about -Werror with gcc2...
svn path=/trunk/libnsbmp/; revision=7309
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b24aed3..b972306 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,9 @@ include build/makefiles/Makefile.tools
# 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)