summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 00:35:48 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 00:35:48 +0000
commit4d199c8f9a86f4188b6862786199c62648e1525a (patch)
tree8e7400360dd677b54229c57a40d7899f84e794b3 /Makefile
parent8f025108a574602e50d1090204ba30cf68047f54 (diff)
downloadlibhubbub-4d199c8f9a86f4188b6862786199c62648e1525a.tar.gz
libhubbub-4d199c8f9a86f4188b6862786199c62648e1525a.tar.bz2
A load of c89 compatibility fixes.
GCC 2.95 doesn't understand -Wno-unused-parameter svn path=/trunk/hubbub/; revision=7103
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 37f5d70..a926773 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,9 @@ ifeq ($(WANT_TEST),yes)
TESTLDFLAGS := $(TESTLDFLAGS) -ljson
endif
- TESTCFLAGS := $(TESTCFLAGS) -Wno-unused-parameter
+ ifneq ($(GCCVER),2)
+ TESTCFLAGS := $(TESTCFLAGS) -Wno-unused-parameter
+ endif
endif
# Extra installation rules