summaryrefslogtreecommitdiff
path: root/makefiles/Makefile.gcc
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:30:21 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2014-11-16 10:30:21 +0000
commitd4f667575aeffc5f3e10a7c1593a221a7b55cef3 (patch)
tree6875311d8f912ec3c1b58122184527736a329b42 /makefiles/Makefile.gcc
parentb07864e66a48adfab83052db94c962a261a53eb4 (diff)
downloadbuildsystem-d4f667575aeffc5f3e10a7c1593a221a7b55cef3.tar.gz
buildsystem-d4f667575aeffc5f3e10a7c1593a221a7b55cef3.tar.bz2
Migrate to target triplets
Diffstat (limited to 'makefiles/Makefile.gcc')
-rw-r--r--makefiles/Makefile.gcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefiles/Makefile.gcc b/makefiles/Makefile.gcc
index abe4f28..d469651 100644
--- a/makefiles/Makefile.gcc
+++ b/makefiles/Makefile.gcc
@@ -51,7 +51,7 @@ endif
# RISC OS module extensions
ifeq ($(COMPONENT_TYPE),riscos-module)
- ifneq ($(TARGET),riscos)
+ ifneq ($(BUILD),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 ($(TARGET),Darwin)
+ifeq ($(findstring darwin,$(BUILD)),darwin)
ifneq ($(UNIVERSAL),)
UNIVERSAL_FLAGS := $(foreach arch,$(UNIVERSAL),-arch $(arch) )
CC_CAN_BUILD_AND_DEP := no