From 99d4ae0054f8e4d681f5a7dd0f3bf2f0ce7df27a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 19 Dec 2014 13:30:45 +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 c9c1bd7..14fea99 100644 --- a/Makefile +++ b/Makefile @@ -16,11 +16,11 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs # BeOS/Haiku standard library headers generate warnings -ifneq ($(BUILD),i586-pc-haiku) +ifneq ($(HOST),i586-pc-haiku) WARNFLAGS := $(WARNFLAGS) -Werror endif # AmigaOS needs this to avoid warnings -ifeq ($(findstring amigaos,$(BUILD)),amigaos) +ifeq ($(findstring amigaos,$(HOST)),amigaos) CFLAGS := -U__STRICT_ANSI__ $(CFLAGS) endif CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -- cgit v1.2.3