xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Keir Fraser <keir@xen.org>, Tim Deegan <tim@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Jan Beulich <jbeulich@suse.com>,
	Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH for-4.7 2/5] build: set HOSTCXX based on clang value for Kconfig xconfig target
Date: Fri, 15 Apr 2016 20:27:18 +0200	[thread overview]
Message-ID: <1460744841-78382-3-git-send-email-roger.pau@citrix.com> (raw)
In-Reply-To: <1460744841-78382-1-git-send-email-roger.pau@citrix.com>

The xconfig Kconfig target requires a C++ compiler because it uses Qt.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>
Cc: Tim Deegan <tim@xen.org>
---
 Config.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Config.mk b/Config.mk
index deaa768..5a31e2e 100644
--- a/Config.mk
+++ b/Config.mk
@@ -50,9 +50,11 @@ clang ?= n
 ifeq ($(clang),n)
 gcc := y
 HOSTCC = gcc
+HOSTCXX = g++
 else
 gcc := n
 HOSTCC = clang
+HOSTCXX = clang++
 endif
 
 
-- 
2.6.4 (Apple Git-63)


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-04-15 18:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15 18:27 [PATCH for-4.7 0/5] build: fixes for building Xen with clang Roger Pau Monne
2016-04-15 18:27 ` [PATCH for-4.7 1/5] build: make HOSTCC conditional on the value of clang Roger Pau Monne
2016-04-17 20:03   ` Jan Beulich
2016-04-20 14:51     ` Roger Pau Monné
2016-04-20 17:09       ` Jan Beulich
2016-04-15 18:27 ` Roger Pau Monne [this message]
2016-04-15 18:27 ` [PATCH for-4.7 3/5] build: pass HOST{CC/CXX} value down to Kconfig Roger Pau Monne
2016-04-22 16:26   ` Ian Jackson
2016-04-15 18:27 ` [PATCH for-4.7 4/5] build: remove Kconfig forced gcc selection Roger Pau Monne
2016-04-15 18:27 ` [PATCH for-4.7 5/5] travis: add an alias for gcc when using clang Roger Pau Monne
2016-04-17 10:02 ` [PATCH for-4.7 0/5] build: fixes for building Xen with clang Jan Beulich
2016-04-20 14:55   ` Roger Pau Monné

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460744841-78382-3-git-send-email-roger.pau@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).