From 59f9a1b614f0bdfca35857ce88e3ec0e351a0f00 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 19 Dec 2014 13:26:08 +0000 Subject: Fix BUILD/HOST confusion The recent buildsystem improvements now use BUILD and HOST to set the ABI of the system doing the building and the ABI being targeted. Unfortunately we got these the wrong way round, this fixes that confusion. --- makefiles/Makefile.gcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makefiles/Makefile.gcc') diff --git a/makefiles/Makefile.gcc b/makefiles/Makefile.gcc index d469651..5f2bd4d 100644 --- a/makefiles/Makefile.gcc +++ b/makefiles/Makefile.gcc @@ -51,7 +51,7 @@ endif # RISC OS module extensions ifeq ($(COMPONENT_TYPE),riscos-module) - ifneq ($(BUILD),arm-unknown-riscos) + ifneq ($(HOST),arm-unknown-riscos) $(error Attempting to build a RISC OS module for a non-RISC OS target) endif @@ -64,7 +64,7 @@ endif # Mac OS X Universal Binaries ############################################################################### -ifeq ($(findstring darwin,$(BUILD)),darwin) +ifeq ($(findstring darwin,$(HOST)),darwin) ifneq ($(UNIVERSAL),) UNIVERSAL_FLAGS := $(foreach arch,$(UNIVERSAL),-arch $(arch) ) CC_CAN_BUILD_AND_DEP := no -- cgit v1.2.3