Commit b477fe44ee0c4b5338b9eebca5eeca1040e45610
Committed by
Albert ARIBAUD
1 parent
fe5d1abcf4
Exists in
v2017.01-smarct4x
and in
40 other branches
Makefile: default to cc for host compiler
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
Makefile
| ... | ... | @@ -197,8 +197,8 @@ |
| 197 | 197 | else if [ -x /bin/bash ]; then echo /bin/bash; \ |
| 198 | 198 | else echo sh; fi ; fi) |
| 199 | 199 | |
| 200 | -HOSTCC = gcc | |
| 201 | -HOSTCXX = g++ | |
| 200 | +HOSTCC = cc | |
| 201 | +HOSTCXX = c++ | |
| 202 | 202 | HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer |
| 203 | 203 | HOSTCXXFLAGS = -O2 |
| 204 | 204 |