OSDN Git Service

rules.mak: Link with C++ if we have a C++ compiler
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 5 Feb 2014 17:27:27 +0000 (17:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 8 Feb 2014 14:50:48 +0000 (14:50 +0000)
commit3144f78b3f8d517d32641a7b606b67e7b3cc16f7
treec70fd4b32bdc9fe7f2a7753788581ffecedd9fa8
parentc3dc9fd5ac892b88b956d8c90c0e8de14c08e0fc
rules.mak: Link with C++ if we have a C++ compiler

If we have a C++ compiler available, link with it, because we might be
linking some C++ files in. This allows us to include C++ object files
in the QEMU binary proper.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
rules.mak