diff options
Diffstat (limited to 'core/host/toolchain.mk')
-rw-r--r-- | core/host/toolchain.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/host/toolchain.mk b/core/host/toolchain.mk index c0e4d90d43..168d0e24c2 100644 --- a/core/host/toolchain.mk +++ b/core/host/toolchain.mk @@ -2,9 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -CROSS_COMPILE_HOST_DEFAULT:=$(if \ - $(shell which x86_64-pc-linux-gnu-$(cc-name) 2>/dev/null), \ - x86_64-pc-linux-gnu-,) +CROSS_COMPILE_HOST_DEFAULT:=x86_64-pc-linux-gnu- $(call set-option,CROSS_COMPILE,\ $(CROSS_COMPILE_host),\ |