From 89d2f69de32d615cc924fa235b17880eb8c8a831 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Sun, 16 Nov 2014 10:34:45 +0000 Subject: Fix up for new buildsystem --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a771172..d0aea4f 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,8 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs # BeOS/Haiku/AmigaOS have standard library errors that issue warnings. -ifneq ($(TARGET),beos) - ifneq ($(TARGET),amiga) +ifneq ($(BUILD),i586-pc-haiku) + ifneq ($(findstring amigaos,$(BUILD)),amigaos) # WARNFLAGS := $(WARNFLAGS) -Werror endif endif -- cgit v1.2.3