configure: Link against all LLVM targets when building clover
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>
Sat, 24 Jan 2015 21:49:44 +0000 (22:49 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Sun, 25 Jan 2015 16:11:03 +0000 (18:11 +0200)
Since 8e7df519bd8556591794b2de08a833a67e34d526, we initialise all targets in
clover. This fixes bug 85380.

v2: Mention correct bug in commit message

Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
configure.ac

index 1cce51742bac7d06d439654a2662007540ac1431..2b7f57686409b58d6ff32db62504e236a51487c3 100644 (file)
@@ -1902,7 +1902,7 @@ if test "x$enable_gallium_llvm" = xyes; then
         fi
 
         if test "x$enable_opencl" = xyes; then
-            LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation"
+            LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets ipo linker instrumentation"
             # LLVM 3.3 >= 177971 requires IRReader
             if $LLVM_CONFIG --components | grep -qw 'irreader'; then
                 LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader"