From d49cde3fba68a70832e09f10b8a18406deecba28 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 26 Mar 2012 18:59:05 +0000 Subject: Fix build on AmigaOS svn path=/trunk/libdom/; revision=13728 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index e351d88..80c9678 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,10 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ ifneq ($(TARGET),beos) WARNFLAGS := $(WARNFLAGS) -Werror endif +# AmigaOS needs this to avoid warnings +ifeq ($(TARGET),amiga) + CFLAGS := -U__STRICT_ANSI__ $(CFLAGS) +endif CFLAGS := -std=c99 -D_BSD_SOURCE -D_GNU_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src -I$(CURDIR)/binding $(WARNFLAGS) $(CFLAGS) -- cgit v1.2.3