Skip to contentSkip to conversation

xtf: only set CC if it's not set

PATCH In review Roger Pau Monne 2 participants 2 messages May 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtf: only set CC if it's not set

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

---
 build/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
build/common.mk +1 -1
index 2741508..1120a16 100644
@@ -1,7 +1,7 @@
 ROOT := $(abspath $(CURDIR)/../..)
 DESTDIR ?= $(ROOT)/dist
 PREFIX ?= $(ROOT)
-CC = gcc
+CC ?= gcc
 
 ALL_CATEGORIES     := special functional xsa utility
 
Signature · 7 lines
2.7.4 (Apple Git-66)


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel