diff options
author | Mauro Rossi <[email protected]> | 2017-08-03 02:55:47 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-08-03 10:55:27 +0100 |
commit | 56eb2f35702a946c17d6ebae4373f107058417c6 (patch) | |
tree | ce4acd9b1675125ccebcb3fadd2c3334e2d690c7 /src/amd/Android.common.mk | |
parent | 8e103371ed270b7493da9fe06901809248dd53f6 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/amd/Android.common.mk')
-rw-r--r-- | src/amd/Android.common.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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 |