diff options
author | Henrik Jonsson <me@hkjn.me> | 2018-02-16 17:49:51 +0000 |
---|---|---|
committer | Henrik Jonsson <me@hkjn.me> | 2018-02-20 14:42:14 +0000 |
commit | ac91ea64c2b1daec8fee0bfde443c18cf87595ae (patch) | |
tree | 68edbad26dbf5c48d04d8f1b64b23f0a030ec949 /depends/hosts/default.mk | |
parent | ffc6e48b2983189dc0ce7de0a038e5329bc07b1b (diff) |
[depends] Allow depends system to support armv7l
Diffstat (limited to 'depends/hosts/default.mk')
-rw-r--r-- | depends/hosts/default.mk | 4 |
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 |