mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
scripts/xcompile/android: add ability to specify HOST_TOOLCHAIN and override hard-coded one
This commit is contained in:
parent
bb387cfe4b
commit
f60c398f32
@ -152,6 +152,8 @@ class Android:
|
|||||||
def gen_host_toolchain(self):
|
def gen_host_toolchain(self):
|
||||||
# With host toolchain we don't care about OS
|
# With host toolchain we don't care about OS
|
||||||
# so just download NDK for Linux x86_64
|
# so just download NDK for Linux x86_64
|
||||||
|
if 'HOST_TOOLCHAIN' in self.ctx.environ:
|
||||||
|
return self.ctx.environ['HOST_TOOLCHAIN']
|
||||||
if self.is_host():
|
if self.is_host():
|
||||||
return 'linux-x86_64'
|
return 'linux-x86_64'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user