projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5d1ab
)
Makefile: default to cc for host compiler
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Wed, 10 Sep 2014 18:08:51 +0000
(20:08 +0200)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 11 Sep 2014 08:12:05 +0000
(10:12 +0200)
Since the host compiler might not be gcc but e.g. clang
default to cc/c++ to invoke it.
cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
cc: Tom Rini <trini@ti.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index fdda3ec0535bea0f5069d98f3b03a695d2661af4..42263e4de28cf86d1a01d665fb9b5ea666650ecf 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-197,8
+197,8
@@
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)
-HOSTCC =
g
cc
-HOSTCXX =
g
++
+HOSTCC = cc
+HOSTCXX =
c
++
HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCXXFLAGS = -O2