summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/radeonsi/omx/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/radeonsi/omx/Makefile.am')
-rw-r--r--src/gallium/targets/radeonsi/omx/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/radeonsi/omx/Makefile.am b/src/gallium/targets/radeonsi/omx/Makefile.am
index 5eea303d69f..a502c659587 100644
--- a/src/gallium/targets/radeonsi/omx/Makefile.am
+++ b/src/gallium/targets/radeonsi/omx/Makefile.am
@@ -57,6 +57,10 @@ libomx_radeonsi_la_LIBADD = \
$(RADEON_LIBS)
if HAVE_MESA_LLVM
+libomx_radeonsi_la_LINK = $(CXXLINK) $(libomx_radeonsi_la_LDFLAGS)
+# Mention a dummy pure C++ file to trigger generation of the $(LINK) variable
+nodist_EXTRA_libomx_radeonsi_la_SOURCES = dummy-cpp.cpp
+
libomx_radeonsi_la_LDFLAGS += $(LLVM_LDFLAGS)
libomx_radeonsi_la_LIBADD += $(LLVM_LIBS)
endif