gallium/targets: explicitly include a dummy.cpp and remove all the LINK mayhem
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 15:24:07 +0000 (15:24 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 31 Mar 2014 11:26:47 +0000 (12:26 +0100)
commit0484b8446a02a4b77d5a1dab89f6e0b8af831027
tree044c399c8d86c9e59e138785a2b4a2646064d879
parent2d9c33009a62b704e64b49b87ed1cee9c8dcb12b
gallium/targets: explicitly include a dummy.cpp and remove all the LINK mayhem

Explicitly setting the linker variable was required for old and broken
build toolchains. At this point this should no longer be needed, and
setting the sources lists will trigger generation of the correct LINK
variables.

Explicitly include dummy.cpp to use g++ to link the static library which
in most cases is based upon C++ code.

v2: Reword commit message.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
14 files changed:
src/gallium/targets/dri-i915/Makefile.am
src/gallium/targets/dri-ilo/Makefile.am
src/gallium/targets/dri-swrast/Makefile.am
src/gallium/targets/dri-vmwgfx/Makefile.am
src/gallium/targets/gbm/Makefile.am
src/gallium/targets/libgl-xlib/Makefile.am
src/gallium/targets/opencl/Makefile.am
src/gallium/targets/osmesa/Makefile.am
src/gallium/targets/r600/dri/Makefile.am
src/gallium/targets/r600/omx/Makefile.am
src/gallium/targets/r600/vdpau/Makefile.am
src/gallium/targets/r600/xvmc/Makefile.am
src/gallium/targets/radeonsi/omx/Makefile.am
src/gallium/targets/xa/Makefile.am