Skip to content

Commit

Permalink
Update to ONDK r27.0
Browse files Browse the repository at this point in the history
Co-authored-by: LoveSy <[email protected]>
  • Loading branch information
2 people authored and 1q23lyc45 committed Dec 27, 2024
1 parent 42fa061 commit 5ea38e3
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 18 deletions.
2 changes: 0 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ def run_cargo(cmds, triple="aarch64-linux-android"):
env["PATH"] = f'{rust_bin}{os.pathsep}{env["PATH"]}'
env["CARGO_BUILD_RUSTC"] = op.join(rust_bin, "rustc" + EXE_EXT)
env["RUSTFLAGS"] = f"-Clinker-plugin-lto -Zthreads={min(8, cpu_count)}"
env["TARGET_CC"] = op.join(llvm_bin, "clang" + EXE_EXT)
env["TARGET_CFLAGS"] = f"--target={triple}23"
return execv([cargo, *cmds], env)


Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Setup.kt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fun Project.setupCommon() {
compileSdkVersion(34)
buildToolsVersion = "34.0.0"
ndkPath = "$sdkDirectory/ndk/magisk"
ndkVersion = "26.2.11394342"
ndkVersion = "27.0.11718014"

defaultConfig {
minSdk = 23
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ android.nonFinalResIds=false
# Magisk
magisk.stubVersion=39
magisk.versionCode=27002
magisk.ondkVersion=r26.4
magisk.ondkVersion=r27.0
1 change: 0 additions & 1 deletion native/src/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ APP_STRIP_MODE := none
# Busybox should use stock libc.a
ifdef B_BB
APP_PLATFORM := android-26
APP_LDFLAGS += -T src/lto_fix.lds
ifeq ($(OS),Windows_NT)
APP_SHORT_COMMANDS := true
endif
Expand Down
2 changes: 1 addition & 1 deletion native/src/external/busybox
12 changes: 0 additions & 12 deletions native/src/lto_fix.lds

This file was deleted.

0 comments on commit 5ea38e3

Please sign in to comment.