From: Jeroen Hofstee Date: Wed, 10 Sep 2014 18:08:51 +0000 (+0200) Subject: Makefile: default to cc for host compiler X-Git-Tag: v2025.01-rc5-pxa1908~14700^2~3 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=b477fe44ee0c4b5338b9eebca5eeca1040e45610;p=u-boot.git 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 cc: Tom Rini Signed-off-by: Jeroen Hofstee --- diff --git a/Makefile b/Makefile index fdda3ec053..42263e4de2 100644 --- 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 = gcc -HOSTCXX = g++ +HOSTCC = cc +HOSTCXX = c++ HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer HOSTCXXFLAGS = -O2