target-g++: fix build
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Jul 2010 20:32:02 +0000 (22:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Jul 2010 20:32:02 +0000 (22:32 +0200)
commit454b70d03afd45a9f78976b93051c61b80ab245d
treeed1420f0a60eb843e44fd79c3d02098067330fc1
parentfed6a2a6ea884630a3723d2a49579e63e87ffd57
target-g++: fix build

Just as we did to fix target-gcc, pass CXX_FOR_TARGET when building
target g++, and remove useless copies of g++ and c++.

Tested on ARM by compiling a simple C++ program using <iostream> on
the target and running it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/gcc/gcc-uclibc-4.x.mk