mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-12 05:43:30 +00:00
Update build scripts
This commit is contained in:
@@ -7,15 +7,10 @@ APP_PLATFORM := android-21
|
||||
APP_THIN_ARCHIVE := true
|
||||
APP_STRIP_MODE := --strip-all
|
||||
|
||||
ifndef B_SHARED
|
||||
# Fix static variables' ctor/dtor when using LTO
|
||||
# See: https://github.com/android/ndk/issues/1461
|
||||
APP_LDFLAGS += -T jni/lto_fix.lds
|
||||
endif
|
||||
|
||||
# Busybox should use stock libc.a
|
||||
ifdef B_BB
|
||||
APP_PLATFORM := android-24
|
||||
APP_LDFLAGS += -T jni/lto_fix.lds
|
||||
ifeq ($(OS),Windows_NT)
|
||||
APP_SHORT_COMMANDS := true
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user