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-Tag: upstream/17.1.0~1874 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d0d81379e6cdb1b2af952cdad95b1d958e96ef3;p=platform%2Fupstream%2Fmesa.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 f805c4b..26f7953 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