aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-1.5.2/0002-common.mk-for-klibc-CC-is-klcc.patch
blob: c23d11f0b44ef5bb8169142eaf31a656dcda977d (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
25
26
27
From 89c76bbe82a2029a25b0654eb0a1d0b22d6e6877 Mon Sep 17 00:00:00 2001
From: Andrea Adami <andrea.adami@gmail.com>
Date: Sun, 29 Jun 2014 00:37:28 +0200
Subject: [PATCH 2/9] common.mk: for klibc $(CC) is klcc

Do not hardcode: assign the value to the variable if it is not already defined.

Upstream-Status: Submitted

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common.mk b/common.mk
index ba87377..126d11a 100644
--- a/common.mk
+++ b/common.mk
@@ -1,4 +1,4 @@
-CC := $(CROSS)gcc
+CC ?= $(CROSS)gcc
 AR := $(CROSS)ar
 RANLIB := $(CROSS)ranlib
 
-- 
2.7.4