From 41d14d090b1ce6b34865c12b3d1c980bd0fa36e8 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 22 Nov 2009 15:57:52 +0000 Subject: AmigaOS4 standard library headers also create warnings svn path=/trunk/libcss/; revision=9702 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9d46dff..229d310 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 standard library headers create warnings. +# BeOS/Haiku/AmigaOS4 standard library headers create warnings ifneq ($(TARGET),beos) - WARNFLAGS := $(WARNFLAGS) -Werror + ifneq ($(TARGET),AmigaOS) + WARNFLAGS := $(WARNFLAGS) -Werror + endif endif CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) -- cgit v1.2.3