[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-4.7] build: use C{C/XX} as HOSTC{C/XX} if we are not cross-compiling



>>> On 28.04.16 at 11:48, <roger.pau@xxxxxxxxxx> wrote:
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> ---
>  Config.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Config.mk b/Config.mk
> index 9b097c9..67b26dd 100644
> --- a/Config.mk
> +++ b/Config.mk
> @@ -45,6 +45,12 @@ DESTDIR     ?= /
>  # Allow phony attribute to be listed as dependency rather than fake target
>  .PHONY: .phony
>  
> +# If we are not cross-compiling, use C{C/XX} as HOSTC{C/XX}

I think I'd prefer something like "..., default HOSTC{C/XX} to C{C/XX}"
but apart from that (which could be adjusted while committing, if you
agree)
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

(Side note: Please don't forget to Cc Wei on patches targeted at 4.7.
And please don't forget to Cc relevant maintainers.)

> +ifeq ($(XEN_TARGET_ARCH), $(XEN_COMPILE_ARCH))
> +HOSTCC ?= $(CC)
> +HOSTCXX ?= $(CXX)
> +endif
> +
>  # Use Clang/LLVM instead of GCC?
>  clang ?= n
>  ifeq ($(clang),n)
> -- 
> 2.6.4 (Apple Git-63)
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx 
> http://lists.xen.org/xen-devel 



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.