mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-14 04:22:01 +00:00
Build magiskboot with crt0
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
#ifdef USE_MUSL_PRINTF
|
||||
// Switch to use the musl vfprintf
|
||||
__asm__(".global vfprintf \n vfprintf = musl_vfprintf");
|
||||
#endif
|
||||
|
||||
static void print_formats() {
|
||||
for (int fmt = GZIP; fmt < LZOP; ++fmt) {
|
||||
fprintf(stderr, "%s ", fmt2name[(format_t) fmt]);
|
||||
|
||||
Reference in New Issue
Block a user