xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xtf: only set CC if it's not set
@ 2016-05-10 12:18 Roger Pau Monne
  2016-05-10 13:08 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Pau Monne @ 2016-05-10 12:18 UTC (permalink / raw)
  To: xen-devel, andrew.cooper3; +Cc: Roger Pau Monne

This prevents overwriting CC if it's already set on the environment.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
 build/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/common.mk b/build/common.mk
index 2741508..1120a16 100644
--- a/build/common.mk
+++ b/build/common.mk
@@ -1,7 +1,7 @@
 ROOT := $(abspath $(CURDIR)/../..)
 DESTDIR ?= $(ROOT)/dist
 PREFIX ?= $(ROOT)
-CC = gcc
+CC ?= gcc
 
 ALL_CATEGORIES     := special functional xsa utility
 
-- 
2.7.4 (Apple Git-66)


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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xtf: only set CC if it's not set
  2016-05-10 12:18 [PATCH] xtf: only set CC if it's not set Roger Pau Monne
@ 2016-05-10 13:08 ` Andrew Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2016-05-10 13:08 UTC (permalink / raw)
  To: Roger Pau Monne, xen-devel

On 10/05/16 13:18, Roger Pau Monne wrote:
> This prevents overwriting CC if it's already set on the environment.
>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> and committed.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-10 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-10 12:18 [PATCH] xtf: only set CC if it's not set Roger Pau Monne
2016-05-10 13:08 ` Andrew Cooper

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).