From 34aab39f9b00f9cb1f8d349727a01db01b8b43e0 Mon Sep 17 00:00:00 2001 From: mittorn Date: Wed, 25 Oct 2023 22:20:32 +0300 Subject: [PATCH] waifulib/xcompile: fix host clang16 --- scripts/waifulib/xcompile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/waifulib/xcompile.py b/scripts/waifulib/xcompile.py index 0d57bc61..ef6dd402 100644 --- a/scripts/waifulib/xcompile.py +++ b/scripts/waifulib/xcompile.py @@ -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())]