From: Nathan Rossi <nathan.ro...@xilinx.com>

* When forcing -mno-sse specify -mfpmath=387 to avoid the fallback
  warning

Signed-off-by: Nathan Rossi <nathan.ro...@xilinx.com>
Signed-off-by: Doug Goldstein <car...@cardoe.com>
---

I found this patch when attempting to build Xen master on Yocto and
wanted to make sure to give the original author credit. His patch is
unmodified (save for the commit message note that says it was not
submitted upstream).

---
 xen/arch/x86/Rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index 4a04a8a..974f8ab 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -35,7 +35,7 @@ x86_64 := y
 shadow-paging ?= y
 bigmem        ?= n
 
-CFLAGS += -mno-red-zone -mno-sse -fpic
+CFLAGS += -mno-red-zone -mno-sse -fpic -mfpmath=387
 CFLAGS += -fno-asynchronous-unwind-tables
 # -fvisibility=hidden reduces -fpic cost, if it's available
 ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n)
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to