[Mesa-dev] [PATCH 07/12] android: add support for Android 7.0 with llvm 3.8

Mauro Rossi issor.oruam at gmail.com
Tue Jan 10 00:53:03 UTC 2017


Integration of rules that set correct HAVE_LLVM value for Android 7.0
---
 Android.common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Android.common.mk b/Android.common.mk
index 1745b08..36a44bb 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -80,7 +80,7 @@ endif
 
 ifeq ($(MESA_ENABLE_LLVM),true)
 LOCAL_CFLAGS += \
-	-DHAVE_LLVM=0x030$(if $(filter 5,$(MESA_ANDROID_MAJOR_VERSION)),5,7) -DMESA_LLVM_VERSION_PATCH=0 \
+	-DHAVE_LLVM=0x030$(if $(filter 5,$(MESA_ANDROID_MAJOR_VERSION)),5,$(if $(filter 6,$(MESA_ANDROID_MAJOR_VERSION)),7,8)) -DMESA_LLVM_VERSION_PATCH=0 \
 	-D__STDC_CONSTANT_MACROS \
 	-D__STDC_FORMAT_MACROS \
 	-D__STDC_LIMIT_MACROS
-- 
2.9.3



More information about the mesa-dev mailing list