[coreboot] New patch to review for coreboot: f499003 clang: Don't use mmx nor sse

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Sun Mar 11 20:48:58 CET 2012


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/786

-gerrit

commit f499003cb68b64c427b0263db86678fcfe26f957
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sun Mar 11 20:44:22 2012 +0100

    clang: Don't use mmx nor sse
    
    clang is much more trigger happy than gcc on those.
    
    Change-Id: Ie7c219de3cc26675692eab7361a4ad551f1c65a7
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index f2277d1..c5ee1f2 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,7 @@ include $(HAVE_DOTCONFIG)
 
 ifneq ($(INNER_SCANBUILD),y)
 ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
-CC:=clang -m32
+CC:=clang -m32 -mno-mmx -mno-sse
 HOSTCC:=clang
 endif
 endif




More information about the coreboot mailing list