waifulib/xcompile: fix host clang16

This commit is contained in:
mittorn 2023-10-25 22:20:32 +03:00 committed by Alibek Omarov
parent 30c69d3ac8
commit 34aab39f9b
1 changed files with 2 additions and 0 deletions

View File

@ -319,6 +319,8 @@ class Android:
linkflags += ['--gcc-toolchain=%s' % self.gen_gcc_toolchain_path()]
linkflags += ['--gcc-install-dir=%s/lib/gcc/%s/4.9/' % (self.gen_gcc_toolchain_path(), self.ndk_triplet())]
linkflags += ['-fuse-ld=%s/bin/aarch64-linux-android-ld.bfd' % self.gen_gcc_toolchain_path()]
linkflags += ['--unwindlib=none']
linkflags += ['--rtlib=libgcc']
if self.ndk_rev <= ANDROID_NDK_SYSROOT_FLAG_MAX:
linkflags += ['--sysroot=%s' % (self.sysroot())]