util: Allow overriding gcc as default host compiler

BUG=chromium:1088209
TEST=emerge coreboot-utils (with patches to the ebuild) works

Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Change-Id: I25d237d048e417f4e412583031905ecf3614c431
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42016
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Georgi 2020-06-02 19:50:47 +02:00
parent 19704cdcdc
commit 3909908de8
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
PROGRAM = ifdtool PROGRAM = ifdtool
CC = gcc CC ?= gcc
INSTALL = /usr/bin/env install INSTALL = /usr/bin/env install
PREFIX = /usr/local PREFIX = /usr/local
CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -Werror CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -Werror

View File

@ -8,7 +8,7 @@
PROGRAM = nvramtool PROGRAM = nvramtool
CC = gcc CC ?= gcc
INSTALL = /usr/bin/env install INSTALL = /usr/bin/env install
PREFIX = /usr/local PREFIX = /usr/local
CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -I. -DCMOS_HAL=1 CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -I. -DCMOS_HAL=1