[coreboot-gerrit] New patch to review for coreboot: 4c6b9a0 Makefile: Fix HOSTCC for clang
Edward O'Callaghan (eocallaghan@alterapraxis.com)
gerrit at coreboot.org
Thu Oct 30 03:29:27 CET 2014
Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7272
-gerrit
commit 4c6b9a0b0966492cb0e032cef86f3db50db27f6a
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date: Thu Oct 30 11:36:42 2014 +1100
Makefile: Fix HOSTCC for clang
Change-Id: I0470cf2c1e5266ceb33d55c9d616bfff37e97ed6
Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 42aaabd..fa42101 100644
--- a/Makefile
+++ b/Makefile
@@ -74,10 +74,7 @@ ifneq ($(Q),)
endif
endif
-HOSTCC = gcc
-ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
-HOSTCC := clang
-endif
+HOSTCC := gcc
HOSTCXX = g++
HOSTCFLAGS := -g
HOSTCXXFLAGS := -g
@@ -122,6 +119,7 @@ ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
# this means the triple is i386-linux-elf instead of i386-none-elf
CFLAGS_x86_32 = -no-integrated-as -Qunused-arguments -target i386-linux-elf -m32
CC_x86_32:=clang
+HOSTCC := clang
ifneq ($(CONFIG_MMX),y)
CFLAGS_x86_32 += -mno-mmx
More information about the coreboot-gerrit
mailing list