summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-03-11 20:44:22 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2012-03-16 22:22:23 +0100
commitfe9210f5d0ba6662ac47d3a9b962665d4d484fee (patch)
tree0b117f9390f0815ea5c854a9970ba8c3fa129599
parenteb5e28ffc61f6698de1e312415804cc8dc675dfe (diff)
downloadcoreboot-fe9210f5d0ba6662ac47d3a9b962665d4d484fee.tar.xz
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@georgi-clan.de> Reviewed-on: http://review.coreboot.org/786 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f2277d1646..c5ee1f29dc 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