gallium/targets: use c++ compiler for linking
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Thu, 13 Oct 2011 19:45:45 +0000 (21:45 +0200)
committerMarcin Slusarz <marcin.slusarz@gmail.com>
Mon, 17 Oct 2011 20:57:27 +0000 (22:57 +0200)
commit757390491cfa3b861fab76940a8c6e508d1f1a25
treea69fb54b0b227d8131cd057f653dbc61d1113ae2
parentc0573fb29df6defe58f4898f0b8a42e8b9214d36
gallium/targets: use c++ compiler for linking

As pointed out by Michel Dänzer, gcc -lstdc++ doesn't work on all systems,
because it may require other libraries which are only pulled in implicitly
by g++. And libstdc++ is available only with GNU compiler.

Use c++ compiler for linking and remove redundant LDFLAGS += -lstdc++
all over the tree.
configure.ac
src/gallium/targets/Makefile.dri
src/gallium/targets/Makefile.va
src/gallium/targets/Makefile.vdpau
src/gallium/targets/Makefile.xorg
src/gallium/targets/Makefile.xvmc
src/gallium/targets/gbm/Makefile
src/gallium/targets/xa-vmwgfx/Makefile
src/gallium/targets/xorg-nouveau/Makefile
src/gallium/targets/xvmc-nouveau/Makefile