From 6d6f290fbf3c45eec893630861ac845dfba8b433 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 27 Oct 2011 18:12:21 +0000 Subject: Don't treat warnings as errors on AmigaOS svn path=/trunk/hubbub/; revision=13085 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9524d01..6c73e13 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,11 @@ TESTRUNNER := $(PERL) build/testtools/testrunner.pl WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -pedantic -# BeOS/Haiku have standard library errors that issue warnings. +# BeOS/Haiku/AmigaOS have standard library errors that issue warnings. ifneq ($(TARGET),beos) - WARNFLAGS := $(WARNFLAGS) -Werror + ifneq ($(TARGET),amiga) + WARNFLAGS := $(WARNFLAGS) -Werror + endif endif CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) -- cgit v1.2.3