mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 05:37:47 +02:00
Switch to FrankeNDK for building native
This commit is contained in:
@ -2,10 +2,12 @@ APP_ABI := armeabi-v7a x86
|
||||
APP_CFLAGS := -std=gnu99 ${MAGISK_DEBUG} \
|
||||
-DMAGISK_VERSION="${MAGISK_VERSION}" -DMAGISK_VER_CODE=${MAGISK_VER_CODE}
|
||||
APP_CPPFLAGS := -std=c++11
|
||||
APP_SHORT_COMMANDS := true
|
||||
ifdef NEW_PLAT
|
||||
APP_PLATFORM := android-21
|
||||
else
|
||||
APP_PLATFORM := android-16
|
||||
APP_CFLAGS += -Wno-implicit-function-declaration
|
||||
|
||||
# Busybox require some additional settings
|
||||
ifdef B_BB
|
||||
APP_SHORT_COMMANDS := true
|
||||
NDK_TOOLCHAIN_VERSION := 4.9
|
||||
APP_PLATFORM := android-21
|
||||
endif
|
||||
|
Reference in New Issue
Block a user