From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3l66-00038w-De for qemu-devel@nongnu.org; Thu, 16 Jan 2014 06:26:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3l65-0001OQ-9k for qemu-devel@nongnu.org; Thu, 16 Jan 2014 06:26:54 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:44865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3l65-0001Nq-38 for qemu-devel@nongnu.org; Thu, 16 Jan 2014 06:26:53 -0500 From: Peter Maydell Date: Thu, 16 Jan 2014 11:13:28 +0000 Message-Id: <1389870811-4504-3-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1389870811-4504-1-git-send-email-peter.maydell@linaro.org> References: <1389870811-4504-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 2/5] rules.mak: Link with C++ if we have a C++ compiler List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org, Stefan Weil , Claudio Fontana , Alexander Graf , Blue Swirl , Aurelien Jarno , Anthony Liguori , =?UTF-8?q?Alex=20Benn=C3=A9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall , Richard Henderson 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 --- rules.mak | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rules.mak b/rules.mak index cd9187e..391d6eb 100644 --- a/rules.mak +++ b/rules.mak @@ -27,8 +27,12 @@ QEMU_INCLUDES += -I$(