diff options
Diffstat (limited to 'gpt')
-rw-r--r-- | gpt/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpt/Android.mk b/gpt/Android.mk index 7369339b3..3c2ec3b7a 100644 --- a/gpt/Android.mk +++ b/gpt/Android.mk @@ -3,7 +3,9 @@ LOCAL_PATH := $(call my-dir) # Build libgpt_twrp library include $(CLEAR_VARS) +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 26; echo $$?),0) LOCAL_CLANG := false +endif LOCAL_MODULE := libgpt_twrp LOCAL_MODULE_TAGS := optional |