Make it easy to build without crt0

This commit is contained in:
topjohnwu
2024-02-24 22:32:22 -08:00
parent 47e6dd286d
commit 365b373480
3 changed files with 11 additions and 7 deletions

View File

@@ -421,6 +421,7 @@ def build_binary(args):
if "magiskinit" in args.target:
flag += " B_INIT=1"
flag += " B_CRT0=1"
if flag:
dump_bin_header(args)