summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/Android.common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk
index df65c24d50c..8dcb42fb438 100644
--- a/src/amd/Android.common.mk
+++ b/src/amd/Android.common.mk
@@ -30,6 +30,8 @@ LOCAL_MODULE := libmesa_amd_common
LOCAL_SRC_FILES := $(AMD_COMPILER_FILES)
+LOCAL_CFLAGS += -DFORCE_BUILD_AMDGPU # instructs LLVM to declare LLVMInitializeAMDGPU* functions
+
LOCAL_C_INCLUDES := \
$(MESA_TOP)/include \
$(MESA_TOP)/src \