summaryrefslogtreecommitdiff
path: root/lib/mesa/src/amd/Android.compiler.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/amd/Android.compiler.mk')
-rw-r--r--lib/mesa/src/amd/Android.compiler.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mesa/src/amd/Android.compiler.mk b/lib/mesa/src/amd/Android.compiler.mk
index 7d4a1ea43..3f544ac3c 100644
--- a/lib/mesa/src/amd/Android.compiler.mk
+++ b/lib/mesa/src/amd/Android.compiler.mk
@@ -32,8 +32,10 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libmesa_aco
+# filter-out compiler/aco_instruction_selection_setup.cpp because
+# it's already included by compiler/aco_instruction_selection.cpp
LOCAL_SRC_FILES := \
- $(ACO_FILES)
+ $(filter-out compiler/aco_instruction_selection_setup.cpp, $(ACO_FILES))
LOCAL_CFLAGS += -DFORCE_BUILD_AMDGPU # instructs LLVM to declare LLVMInitializeAMDGPU* functions