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:
parent
19704cdcdc
commit
3909908de8
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue