build system: avoid setting HOSTCC to " gcc"

Change-Id: I650b3a347edc2d575c5cbee2051f8ed7b4bd1645
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/13544
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Patrick Georgi 2016-02-01 12:02:29 +01:00 committed by Martin Roth
parent f76ceea705
commit f92068d9c2
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ endif
# Disable implicit/built-in rules to make Makefile errors fail fast. # Disable implicit/built-in rules to make Makefile errors fail fast.
.SUFFIXES: .SUFFIXES:
HOSTCC := $(if $(shell type gcc 2>/dev/null), gcc, cc) HOSTCC := $(if $(shell type gcc 2>/dev/null),gcc,cc)
HOSTCXX = g++ HOSTCXX = g++
HOSTCFLAGS := -g HOSTCFLAGS := -g
HOSTCXXFLAGS := -g HOSTCXXFLAGS := -g