Skip to content

Commit ecbc7a1

Browse files
committed
Move magiskboot cli to argh
1 parent 5926e56 commit ecbc7a1

File tree

11 files changed

+450
-295
lines changed

11 files changed

+450
-295
lines changed

native/src/Android.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ LOCAL_STATIC_LIBRARIES := \
9494
libboot-rs
9595

9696
LOCAL_SRC_FILES := \
97-
boot/main.cpp \
9897
boot/bootimg.cpp \
9998
boot/compress.cpp \
10099
boot/format.cpp \
@@ -104,7 +103,7 @@ LOCAL_LDFLAGS := -static
104103

105104
ifdef B_CRT0
106105
LOCAL_STATIC_LIBRARIES += crt0
107-
LOCAL_LDFLAGS += -lm
106+
LOCAL_LDFLAGS += -lm -Wl,--defsym=vfprintf=musl_vfprintf
108107
endif
109108

110109
include $(BUILD_EXECUTABLE)

0 commit comments

Comments
 (0)