From: Timothy Arceri Date: Tue, 28 Feb 2017 04:39:08 +0000 (+1100) Subject: gallium/r600: fix r600 build when OpenCL is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d0d81379e6cdb1b2af952cdad95b1d958e96ef3;p=mesa.git gallium/r600: fix r600 build when OpenCL is enabled Fixes build regression caused by d90bf4ef3e1db7 --- 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