diff options
Diffstat (limited to 'makefiles/Makefile.gcc')
-rw-r--r-- | makefiles/Makefile.gcc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |