Use lld linker when linking everything.

This commit is contained in:
Miku AuahDark
2021-05-09 16:35:44 +08:00
parent 552376fc7a
commit f507d58891
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ android {
resValue 'bool', 'embed', 'false'
externalNativeBuild {
ndkBuild {
arguments "-j4"
arguments "-j" + Runtime.runtime.availableProcessors()
}
}
ndk {
+1 -1
View File
@@ -4,7 +4,7 @@
APP_STL := c++_shared
APP_ABI := armeabi-v7a
APP_CPPFLAGS := -frtti
APP_LDFLAGS := -llog -landroid -lz
APP_LDFLAGS := -llog -landroid -lz -fuse-ld=lld
APP_PLATFORM := 10
NDK_TOOLCHAIN_VERSION := clang