Use the new helper function to add the r600 components needed for openCL.

Signed-off-by: Tobias Droste <tdro...@gmx.de>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 23160f2..449e38d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2499,7 +2499,8 @@ if test -n "$with_gallium_drivers"; then
             if test "x$enable_opencl" = xyes; then
                 radeon_llvm_check "3" "6" "0" "r600"
                 gallium_require_llvm "r600"
-                LLVM_COMPONENTS="${LLVM_COMPONENTS} bitreader asmparser"
+                llvm_add_component "bitreader" "r600"
+                llvm_add_component "asmparser" "r600"
             fi
             ;;
         xradeonsi)
-- 
2.10.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to