From: Chris Young Date: Sun, 22 Nov 2009 15:55:17 +0000 (-0000) Subject: AmigaOS4 standard library headers also create warnings X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a36a3969d04eb8021ec4b44c953888c481731047;p=libsvgtiny.git AmigaOS4 standard library headers also create warnings svn path=/trunk/libsvgtiny/; revision=9700 --- diff --git a/Makefile b/Makefile index 4bbcb12..94153e4 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,11 @@ TESTRUNNER := $(ECHO) 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)