OSDN Git Service

llvmpipe: Fix build with LLVM 2.8
authorTom Stellard <thomas.stellard@amd.com>
Mon, 1 Oct 2012 20:19:43 +0000 (16:19 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 1 Oct 2012 21:42:56 +0000 (17:42 -0400)
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 <marcheu@chromium.org>
configure.ac

index 0de506d..770df2f 100644 (file)
@@ -1661,7 +1661,7 @@ if test "x$enable_gallium_llvm" = xyes; then
             if $LLVM_CONFIG --components | grep -q '\<mcjit\>'; 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