Skip to content

Commit

Permalink
fix: zygiskd c99 building process
Browse files Browse the repository at this point in the history
This commit fixes building process of new zygiskd.
  • Loading branch information
ThePedroo committed Jul 26, 2024
1 parent d55a30c commit c6d5176
Show file tree
Hide file tree
Showing 22 changed files with 131 additions and 1,698 deletions.
4 changes: 3 additions & 1 deletion loader/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ val ccachePath by lazy {
val defaultCFlags = arrayOf(
"-Wall", "-Wextra",
"-fno-rtti", "-fno-exceptions",
"-fvisibility=hidden", "-fvisibility-inlines-hidden",
"-fno-stack-protector", "-fomit-frame-pointer",
"-Wno-builtin-macro-redefined", "-D__FILE__=__FILE_NAME__"
"-Wno-builtin-macro-redefined", "-D__FILE__=__FILE_NAME__",
"-O0", "-g"
)

val releaseFlags = arrayOf(
Expand Down
2 changes: 1 addition & 1 deletion module/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ androidComponents.onVariants { variant ->
filter<FixCrLfFilter>("eol" to FixCrLfFilter.CrLf.newInstance("lf"))
}
into("bin") {
from(project(":zygiskd").layout.buildDirectory.file("rustJniLibs/android"))
from(project(":zygiskd").layout.buildDirectory.getAsFile().get())
include("**/zygiskd")
}
into("lib") {
Expand Down
2 changes: 0 additions & 2 deletions zygiskd-new/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions zygiskd-new/LICENSE

This file was deleted.

33 changes: 0 additions & 33 deletions zygiskd-new/Makefile

This file was deleted.

125 changes: 0 additions & 125 deletions zygiskd-new/companion.c

This file was deleted.

6 changes: 0 additions & 6 deletions zygiskd-new/companion.h

This file was deleted.

70 changes: 0 additions & 70 deletions zygiskd-new/constants.h

This file was deleted.

58 changes: 0 additions & 58 deletions zygiskd-new/dl.c

This file was deleted.

6 changes: 0 additions & 6 deletions zygiskd-new/dl.h

This file was deleted.

Loading

0 comments on commit c6d5176

Please sign in to comment.