File tree 1 file changed +2
-4
lines changed
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
48
48
# NDK_HOSTARCH=darwin-x86_64
49
49
CC =$(NDK ) /toolchains/llvm/prebuilt/$(NDK_HOSTARCH ) /bin/clang
50
50
rs_ndk =ndk -t $(ANDROID_TARGET )
51
- # unset rs target?
51
+ ANDROID_API_VERSION =33
52
52
rs_build_flags =-Zbuild-std
53
53
sysroot_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
56
54
endif
57
55
58
56
prefix =./dist
@@ -142,7 +140,7 @@ ifdef CI_MAYBE_TARGET
142
140
ifndef CI_GCC
143
141
# clang has a different target triple than Rust for ios simuators
144
142
ifeq ($(findstring sim,$(CI_MAYBE_TARGET)),)
145
- C_TARGET = --target=$(CI_MAYBE_TARGET)
143
+ C_TARGET = --target=$(CI_MAYBE_TARGET)$(ANDROID_API_VERSION)
146
144
else
147
145
C_TARGET = --target=$(CI_MAYBE_TARGET)ulator
148
146
endif
You can’t perform that action at this time.
0 commit comments