Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32cca7ea authored by Ying Wang's avatar Ying Wang Committed by Android (Google) Code Review
Browse files

Merge "Allow user to override the linux host toolchain."

parents ea6063f1 79e3f779
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,7 +24,9 @@ endef

# Previously the prebiult host toolchain is used only for the sdk build,
# that's why we have "sdk" in the path name.
ifeq ($(strip $(HOST_TOOLCHAIN_PREFIX)),)
HOST_TOOLCHAIN_PREFIX := prebuilts/tools/gcc-sdk
endif
# Don't do anything if the toolchain is not there
ifneq (,$(strip $(wildcard $(HOST_TOOLCHAIN_PREFIX)/gcc)))
HOST_CC  := $(HOST_TOOLCHAIN_PREFIX)/gcc