]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commitdiff
xtf: only set CC if it's not set
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 10 May 2016 11:58:39 +0000 (13:58 +0200)
committerRoger Pau Monne <roger.pau@citrix.com>
Tue, 10 May 2016 11:58:39 +0000 (13:58 +0200)
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

index 27415082e52af8124989c9425498751a277e2c0d..1120a167641244f09998303bf130770fed672e52 100644 (file)
@@ -1,7 +1,7 @@
 ROOT := $(abspath $(CURDIR)/../..)
 DESTDIR ?= $(ROOT)/dist
 PREFIX ?= $(ROOT)
-CC = gcc
+CC ?= gcc
 
 ALL_CATEGORIES     := special functional xsa utility