[coreboot-gerrit] New patch to review for coreboot: b1ccbf6 cbmem: Makefile: Allow to override `CC` variable

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Sat Apr 13 18:20:28 CEST 2013

Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3082


commit b1ccbf68aeac142342a824b86775e2109ceb1b4e
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Fri Apr 5 11:39:42 2013 +0200

    cbmem: Makefile: Allow to override `CC` variable
    Now users can use a different compiler from GCC like Clang by for example
    doing `CC=clang make`.
    Change-Id: I664a36df79f7496a56d89bdb61948b2eda33a6b4
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
 util/cbmem/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/cbmem/Makefile b/util/cbmem/Makefile
index bf74e08..c93863a 100644
--- a/util/cbmem/Makefile
+++ b/util/cbmem/Makefile
@@ -19,7 +19,7 @@
 PROGRAM = cbmem
 ROOT = ../../src
-CC     = $(CROSS_COMPILE)gcc
+CC     ?= $(CROSS_COMPILE)gcc
 CFLAGS ?= -O2
 CFLAGS += -Wall -Werror
 CPPFLAGS += -iquote $(ROOT)/include -iquote $(ROOT)/src/arch/x86

More information about the coreboot-gerrit mailing list