From 56eb2f35702a946c17d6ebae4373f107058417c6 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Thu, 3 Aug 2017 02:55:47 +0200 Subject: android: ac/common: always build NIR translation Android build changes to avoid the following building error: external/mesa/src/gallium/drivers/radeonsi/si_shader_nir.c:505: error: undefined reference to 'ac_nir_translate' Fixes: 86d4b46d66 "ac/common: always build NIR translation" Reviewed-by: Emil Velikov --- src/amd/Android.common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk index 39d2732fd99..7d08bfd31d7 100644 --- a/src/amd/Android.common.mk +++ b/src/amd/Android.common.mk @@ -31,7 +31,8 @@ LOCAL_MODULE := libmesa_amd_common LOCAL_SRC_FILES := \ $(AMD_COMMON_FILES) \ $(AMD_COMPILER_FILES) \ - $(AMD_DEBUG_FILES) + $(AMD_DEBUG_FILES) \ + $(AMD_NIR_FILES) LOCAL_CFLAGS += -DFORCE_BUILD_AMDGPU # instructs LLVM to declare LLVMInitializeAMDGPU* functions -- cgit v1.2.3