From 4d199c8f9a86f4188b6862786199c62648e1525a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 16 Apr 2009 00:35:48 +0000 Subject: A load of c89 compatibility fixes. GCC 2.95 doesn't understand -Wno-unused-parameter svn path=/trunk/hubbub/; revision=7103 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3