Skip to content
Snippets Groups Projects
Commit b477fe44 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Albert ARIBAUD
Browse files

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: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent fe5d1abc
No related branches found
No related tags found
No related merge requests found
......@@ -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 = gcc
HOSTCXX = g++
HOSTCC = cc
HOSTCXX = c++
HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCXXFLAGS = -O2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment