aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-11 02:21:21 +0000
committerEmil Velikov <[email protected]>2014-03-31 12:26:16 +0100
commit2328900f66b4b1d682d79deeb4b66249991c4e89 (patch)
treed3c88aaebd18ae5daabe7eb5201dcd2ab7ec79a3 /src/gallium/Automake.inc
parent1ea1767f72906d833bf9070c2aa9e664885ed72d (diff)
gallium/targets: fold LLVM_LDFLAGS inside Automake.inc
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index f064a879313..d014e275a96 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -108,3 +108,12 @@ GALLIUM_WINSYS_CFLAGS = \
-I$(top_srcdir)/src/gallium/auxiliary \
$(DEFINES) \
$(VISIBILITY_CFLAGS)
+
+if HAVE_MESA_LLVM
+
+GALLIUM_DRI_LINKER_FLAGS += $(LLVM_LDFLAGS)
+GALLIUM_VDPAU_LINKER_FLAGS += $(LLVM_LDFLAGS)
+GALLIUM_XVMC_LINKER_FLAGS += $(LLVM_LDFLAGS)
+GALLIUM_OMX_LINKER_FLAGS += $(LLVM_LDFLAGS)
+
+endif