diff options
| -rw-r--r-- | recipes-extended/xen/files/xen-x86-Fix-up-rules-when-forcing-mno-sse.patch | 28 | ||||
| -rw-r--r-- | recipes-extended/xen/xen_4.5.0.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/recipes-extended/xen/files/xen-x86-Fix-up-rules-when-forcing-mno-sse.patch b/recipes-extended/xen/files/xen-x86-Fix-up-rules-when-forcing-mno-sse.patch new file mode 100644 index 00000000..4c3e297f --- /dev/null +++ b/recipes-extended/xen/files/xen-x86-Fix-up-rules-when-forcing-mno-sse.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From: Nathan Rossi <nathan.rossi@xilinx.com> | ||
| 2 | Subject: [PATCH] xen/x86: Fix up rules when forcing -mno-sse | ||
| 3 | |||
| 4 | * When forcing -mno-sse specify -mfpmath=387 to avoid the fallback | ||
| 5 | warning | ||
| 6 | |||
| 7 | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> | ||
| 8 | Upstream-Status: Not-Submitted | ||
| 9 | --- | ||
| 10 | xen/arch/x86/Rules.mk | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk | ||
| 14 | index 6775cb5..03848f7 100644 | ||
| 15 | --- a/xen/arch/x86/Rules.mk | ||
| 16 | +++ b/xen/arch/x86/Rules.mk | ||
| 17 | @@ -42,7 +42,7 @@ x86 := y | ||
| 18 | x86_32 := n | ||
| 19 | x86_64 := y | ||
| 20 | |||
| 21 | -CFLAGS += -mno-red-zone -mno-sse -fpic | ||
| 22 | +CFLAGS += -mno-red-zone -mno-sse -fpic -mfpmath=387 | ||
| 23 | CFLAGS += -fno-asynchronous-unwind-tables | ||
| 24 | # -fvisibility=hidden reduces -fpic cost, if it's available | ||
| 25 | ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n) | ||
| 26 | -- | ||
| 27 | 2.1.1 | ||
| 28 | |||
diff --git a/recipes-extended/xen/xen_4.5.0.bb b/recipes-extended/xen/xen_4.5.0.bb index 5f8c087c..cef0665a 100644 --- a/recipes-extended/xen/xen_4.5.0.bb +++ b/recipes-extended/xen/xen_4.5.0.bb | |||
| @@ -2,6 +2,7 @@ require xen.inc | |||
| 2 | 2 | ||
| 3 | SRC_URI = " \ | 3 | SRC_URI = " \ |
| 4 | http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \ | 4 | http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \ |
| 5 | file://xen-x86-Fix-up-rules-when-forcing-mno-sse.patch \ | ||
| 5 | " | 6 | " |
| 6 | 7 | ||
| 7 | SRC_URI[md5sum] = "9bac43d2419d05a647064d9253bb03fa" | 8 | SRC_URI[md5sum] = "9bac43d2419d05a647064d9253bb03fa" |
