Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42016 )
Change subject: util: Allow overriding gcc as default host compiler ......................................................................
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 --- M util/ifdtool/Makefile M util/nvramtool/Makefile 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/42016/1
diff --git a/util/ifdtool/Makefile b/util/ifdtool/Makefile index d70080d..e8d818c 100644 --- a/util/ifdtool/Makefile +++ b/util/ifdtool/Makefile @@ -4,7 +4,7 @@
PROGRAM = ifdtool
-CC = gcc +CC ?= gcc INSTALL = /usr/bin/env install PREFIX = /usr/local CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -Werror diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile index 25962ef..0d7f687 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