summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/Makefile.common.am9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am
index dff461c35d4..d62e9d41cf4 100644
--- a/src/amd/Makefile.common.am
+++ b/src/amd/Makefile.common.am
@@ -58,13 +58,8 @@ common_libamd_common_la_SOURCES = \
$(AMD_COMMON_FILES) \
$(AMD_COMPILER_FILES) \
$(AMD_DEBUG_FILES) \
- $(AMD_GENERATED_FILES)
-
-# nir_to_llvm requires LLVM 3.9, which is only required as a minimum when
-# radv is built.
-if HAVE_RADEON_VULKAN
-common_libamd_common_la_SOURCES += $(AMD_NIR_FILES)
-endif
+ $(AMD_GENERATED_FILES) \
+ $(AMD_NIR_FILES)
endif
common_libamd_common_la_LIBADD = $(LIBELF_LIBS)