mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-12 05:00:28 +01:00
clover: Fix linkage of libOpenCL
Clover needs the option component of llvm. Reviewed-by: Tom Stellard <tom@stellard.net> Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
This commit is contained in:
parent
21d9a1b5ef
commit
5394ee8f30
1 changed files with 4 additions and 0 deletions
|
|
@ -1617,6 +1617,10 @@ if test "x$enable_gallium_llvm" = xyes; then
|
|||
if $LLVM_CONFIG --components | grep -qw 'irreader'; then
|
||||
LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader"
|
||||
fi
|
||||
# LLVM 3.4 requires Option
|
||||
if $LLVM_CONFIG --components | grep -qw 'option'; then
|
||||
LLVM_COMPONENTS="${LLVM_COMPONENTS} option"
|
||||
fi
|
||||
fi
|
||||
DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT"
|
||||
MESA_LLVM=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue