build: use C{C/XX} as HOSTC{C/XX} if we are not cross-compiling
PATCH 1/1 build: use C{C/XX} as HOSTC{C/XX} if we are not cross-compiling
--- Config.mk | 6 ++++++ 1 file changed, 6 insertions(+)
Config.mk +6 -0
@@ -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} +ifeq ($(XEN_TARGET_ARCH), $(XEN_COMPILE_ARCH)) +HOSTCC ?= $(CC) +HOSTCXX ?= $(CXX) +endif + # Use Clang/LLVM instead of GCC? clang ?= n ifeq ($(clang),n)
Signature · 7 lines
2.6.4 (Apple Git-63) _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 28.04.16 at 11:48, <[email protected]> wrote:
Signed-off-by Roger Pau Monné <[email protected]>--- Config.mk | 6 ++++++ 1 file changed, 6 insertions(+)Config.mk +0
-0
Config.mk DESTDIR ?= / · line 48
Quoted 4 lines
Config.mk +1
-0@@ -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)
(Side note: Please don't forget to Cc Wei on patches targeted at 4.7. And please don't forget to Cc relevant maintainers.)
Quoted 16 lines
Config.mk +5
-0+ifeq ($(XEN_TARGET_ARCH), $(XEN_COMPILE_ARCH)) +HOSTCC ?= $(CC) +HOSTCXX ?= $(CXX) +endif + # Use Clang/LLVM instead of GCC? clang ?= n ifeq ($(clang),n)Signature · 7 lines
2.6.4 (Apple Git-63) _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 14 lines · Jan Beulich
Quoted 14 lines
Quoted 1 line
Quoted 1 line · On 28.04.16 at 11:48, <[email protected]> wrote:
Signed-off-by Roger Pau Monné <[email protected]>--- Config.mk | 6 ++++++ 1 file changed, 6 insertions(+)Config.mk +0
-0@@ -45,6 +45,12 @@ DESTDIR ?= / # Allow phony attribute to be listed as dependency rather than fake target .PHONY: .phony
Quoted 6 lines
Config.mk DESTDIR ?= / · line 48
Quoted 1 line
Config.mk +1
-0+# 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 <[email protected]>
That's fine by me (and more accurate than my original message).
Quoted 2 lines
(Side note: Please don't forget to Cc Wei on patches targeted at 4.7. And please don't forget to Cc relevant maintainers.)
Yes, my bad. I've actually forgotten to Cc anyone on this patch, sigh...
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 19 lines · Jan Beulich
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 28.04.16 at 11:48, <[email protected]> wrote:
Signed-off-by Roger Pau Monné <[email protected]>--- Config.mk | 6 ++++++ 1 file changed, 6 insertions(+)Config.mk +0
-0Config.mk DESTDIR ?= / · line 48
Quoted 4 lines
Config.mk +1
-0@@ -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)
Quoted 4 lines
Acked-by Jan Beulich <[email protected]>(Side note: Please don't forget to Cc Wei on patches targeted at 4.7. And please don't forget to Cc relevant maintainers.)
Quoted 13 lines
Quoted 13 lines
Config.mk +5
-0+ifeq ($(XEN_TARGET_ARCH), $(XEN_COMPILE_ARCH)) +HOSTCC ?= $(CC) +HOSTCXX ?= $(CXX) +endif + # Use Clang/LLVM instead of GCC? clang ?= n ifeq ($(clang),n)Signature · 1 line
2.6.4 (Apple Git-63)
Quoted 6 lines
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel