summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/Android.mk')
-rw-r--r--src/gallium/auxiliary/Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk
index 4f6f71bbf6a..e2a1fc214eb 100644
--- a/src/gallium/auxiliary/Android.mk
+++ b/src/gallium/auxiliary/Android.mk
@@ -38,12 +38,12 @@ LOCAL_C_INCLUDES := \
ifeq ($(MESA_ENABLE_LLVM),true)
LOCAL_SRC_FILES += \
- $(GALLIVM_SOURCES) \
- $(GALLIVM_CPP_SOURCES)
-LOCAL_STATIC_LIBRARIES += libLLVMCore
-LOCAL_CPPFLAGS := -std=c++11
+ $(GALLIVM_SOURCES)
+$(call mesa-build-with-llvm)
endif
+LOCAL_CPPFLAGS += -std=c++11
+
# We need libmesa_nir to get NIR's generated include directories.
LOCAL_MODULE := libmesa_gallium
LOCAL_STATIC_LIBRARIES += libmesa_nir