aboutsummaryrefslogtreecommitdiff
path: root/depends/hosts
diff options
context:
space:
mode:
authorHenrik Jonsson <me@hkjn.me>2018-02-16 17:49:51 +0000
committerHenrik Jonsson <me@hkjn.me>2018-02-20 14:42:14 +0000
commitac91ea64c2b1daec8fee0bfde443c18cf87595ae (patch)
tree68edbad26dbf5c48d04d8f1b64b23f0a030ec949 /depends/hosts
parentffc6e48b2983189dc0ce7de0a038e5329bc07b1b (diff)
downloadbitcoin-ac91ea64c2b1daec8fee0bfde443c18cf87595ae.tar.xz
[depends] Allow depends system to support armv7l
Diffstat (limited to 'depends/hosts')
-rw-r--r--depends/hosts/default.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/depends/hosts/default.mk b/depends/hosts/default.mk
index 6f60d6b3fd..144e5f88b7 100644
--- a/depends/hosts/default.mk
+++ b/depends/hosts/default.mk
@@ -1,3 +1,7 @@
+ifneq ($(host),$(build))
+host_toolchain:=$(host)-
+endif
+
default_host_CC = $(host_toolchain)gcc
default_host_CXX = $(host_toolchain)g++
default_host_AR = $(host_toolchain)ar