From 78c9527819b6acbf4d3826383eaa328780170b48 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 19 Dec 2014 13:31:55 +0000 Subject: Update to use correct BUILD/HOST variables due to buildsystem changes --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dffe582..6fb7772 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,8 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs # BeOS/Haiku/AmigaOS4 standard library headers create warnings -ifneq ($(BUILD),i586-pc-haiku) - ifneq ($(findstring amigaos,$(BUILD)),amigaos) +ifneq ($(HOST),i586-pc-haiku) + ifneq ($(findstring amigaos,$(HOST)),amigaos) WARNFLAGS := $(WARNFLAGS) -Werror endif endif -- cgit v1.2.3