From: Mauro Rossi Date: Thu, 3 Aug 2017 00:55:47 +0000 (+0200) Subject: android: ac/common: always build NIR translation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56eb2f35702a946c17d6ebae4373f107058417c6;p=mesa.git 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 --- 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