From: Tom Stellard Date: Mon, 1 Oct 2012 20:19:43 +0000 (-0400) Subject: llvmpipe: Fix build with LLVM 2.8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00d80b3a6f0937a69d23b4956e26f3ffc924d3d6;p=mesa.git llvmpipe: Fix build with LLVM 2.8 Commit 8d9778589f4b3a174e884338adb0fe1bdeca5eb7 added all-targets to the LLVM_COMPONENTS list, but this component does not exist with LLVM 2.8. Adding all-targets is not necessary for any drivers, and it seems to be left over from earlier versions of the commit mentioned above. Tested-by: Stéphane Marchesin --- diff --git a/configure.ac b/configure.ac index 0de506d6060..770df2f1a29 100644 --- a/configure.ac +++ b/configure.ac @@ -1661,7 +1661,7 @@ if test "x$enable_gallium_llvm" = xyes; then if $LLVM_CONFIG --components | grep -q '\'; then LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit" fi - LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets" + if test "x$enable_opencl" = xyes; then LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation" fi