File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,9 @@ NDK_HOSTARCH=linux-x86_64
4848# NDK_HOSTARCH=darwin-x86_64
4949CC =$(NDK ) /toolchains/llvm/prebuilt/$(NDK_HOSTARCH ) /bin/clang
5050rs_ndk =ndk -t $(ANDROID_TARGET )
51- # unset rs target?
51+ ANDROID_API_VERSION =33
5252rs_build_flags =-Zbuild-std
5353sysroot_option=--sysroot =$(NDK ) /toolchains/llvm/prebuilt/$(NDK_HOSTARCH ) /sysroot
54- # android_I = -I$(NDK)/toolchains/llvm/prebuilt/$(NDK_HOSTARCH)/sysroot/usr/include/$(ANDROID_TARGET)/asm
55- # android_L = -L$(NDK)/toolchains/llvm/prebuilt/$(NDK_HOSTARCH)/sysroot/usr/lib/$(ANDROID_TARGET)/33
5654endif
5755
5856prefix =./dist
@@ -142,7 +140,7 @@ ifdef CI_MAYBE_TARGET
142140 ifndef CI_GCC
143141# clang has a different target triple than Rust for ios simuators
144142 ifeq ($(findstring sim,$(CI_MAYBE_TARGET)),)
145- C_TARGET = --target=$(CI_MAYBE_TARGET)
143+ C_TARGET = --target=$(CI_MAYBE_TARGET)$(ANDROID_API_VERSION)
146144 else
147145 C_TARGET = --target=$(CI_MAYBE_TARGET)ulator
148146 endif
You can’t perform that action at this time.
0 commit comments