summaryrefslogtreecommitdiff
path: root/util/nvramtool/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-06-02 19:50:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-04 08:11:48 +0000
commit3909908de897dddf2182032f30369e235ebe4095 (patch)
treef84c925b58164361b2e44a8ef2b087447649f8e9 /util/nvramtool/Makefile
parent19704cdcdc06e0304042d60dc9c5783c7a2b445d (diff)
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>
Diffstat (limited to 'util/nvramtool/Makefile')
-rw-r--r--util/nvramtool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index 25962ef1d9..0d7f687f3b 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -8,7 +8,7 @@
PROGRAM = nvramtool
-CC = gcc
+CC ?= gcc
INSTALL = /usr/bin/env install
PREFIX = /usr/local
CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -I. -DCMOS_HAL=1