blob: 7ec67e04d71539c95f8e22d5a961e6f171b56330 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From: Reinette Chatre <reinette.chatre@intel.com>
Date: Tue, 30 Aug 12:12:50 PDT 2016
Subject: [PATCH] Makefile: only modify CC if unset
When cross compiling bitbake sets the value of CC to correct compiler.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
---
Makefile | 2 +-
1 file changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@
VER_MAJOR = 1
VER_MINOR = 5
-CC=$(CROSS_COMPILE)gcc
+CC ?= $(CROSS_COMPILE)gcc
# build options
DEBUG ?= 1
--
|