Message ID | 1462882690-5636-1-git-send-email-roger.pau@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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.
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
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(-)