From 4d0d81379e6cdb1b2af952cdad95b1d958e96ef3 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 28 Feb 2017 15:39:08 +1100 Subject: [PATCH] gallium/r600: fix r600 build when OpenCL is enabled Fixes build regression caused by d90bf4ef3e1db7 --- src/gallium/targets/pipe-loader/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am index f805c4be2a9..26f79536fc1 100644 --- a/src/gallium/targets/pipe-loader/Makefile.am +++ b/src/gallium/targets/pipe-loader/Makefile.am @@ -131,6 +131,11 @@ pipe_r600_la_LIBADD = \ $(LIBDRM_LIBS) \ $(RADEON_LIBS) +if NEED_RADEON_LLVM +pipe_r600_la_LIBADD += \ + $(top_builddir)/src/amd/common/libamd_common.la +endif + endif if HAVE_GALLIUM_RADEONSI -- 2.30.2