summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-virtualization/recipes-extended/iasl/iasl/Make-CC-definition-conditional.patch
blob: f69a36c6377572edf9497bdf95e893db8f69c5f7 (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
28
29
[PATCH] Make CC definition conditional

Upstream-Status: pending

By hardcoding CC's definition to gcc, make this packages unable to
cross-compile. the -e options of make can not override the CC since
it is not defined in Makefile, but in Makefile.config

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
 generate/unix/Makefile.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
index 8d41399..72d597d 100644
--- a/generate/unix/Makefile.config
+++ b/generate/unix/Makefile.config
@@ -35,7 +35,7 @@
 .SUFFIXES :
 PROGS = acpibin acpidump acpiexamples acpiexec acpihelp acpinames acpisrc acpixtract iasl
 HOST ?= _CYGWIN
-CC =    gcc
+CC ?=    gcc
 
 #
 # Common defines
-- 
1.9.1

OpenPOWER on IntegriCloud