Update crt0

This commit is contained in:
topjohnwu
2024-03-04 16:42:25 -08:00
parent 2290ddeb89
commit a6ff3672af
3 changed files with 2 additions and 36 deletions

View File

@@ -112,7 +112,7 @@ LOCAL_LDFLAGS := -static -T src/lto_fix.lds
ifdef B_CRT0
LOCAL_STATIC_LIBRARIES += crt0
LOCAL_CFLAGS += -DUSE_MUSL_PRINTF
LOCAL_LDFLAGS := -lm -Wl,--wrap=qsort
LOCAL_LDFLAGS := -lm
endif
include $(BUILD_EXECUTABLE)