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>
This commit is contained in:
parent
eb5e28ffc6
commit
fe9210f5d0
2
Makefile
2
Makefile
|
@ -113,7 +113,7 @@ include $(HAVE_DOTCONFIG)
|
||||||
|
|
||||||
ifneq ($(INNER_SCANBUILD),y)
|
ifneq ($(INNER_SCANBUILD),y)
|
||||||
ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
|
ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
|
||||||
CC:=clang -m32
|
CC:=clang -m32 -mno-mmx -mno-sse
|
||||||
HOSTCC:=clang
|
HOSTCC:=clang
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue