mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-08 13:13:36 +00:00
Let Magisk compile against SDK 16
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
APP_ABI := x86 armeabi-v7a
|
||||
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 OLD_PLAT
|
||||
ifdef NEW_PLAT
|
||||
APP_PLATFORM := android-21
|
||||
else
|
||||
APP_PLATFORM := android-16
|
||||
APP_CFLAGS += -Wno-implicit-function-declaration
|
||||
else
|
||||
APP_PLATFORM := android-21
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user