diff options
Diffstat (limited to 'meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch')
-rw-r--r-- | meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch b/meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch index 6b73878cc0..05a4697a73 100644 --- a/meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch +++ b/meta/recipes-bsp/grub/files/0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 96d9aa55d29b24e2490d5647a9efc66940fc400f Mon Sep 17 00:00:00 2001 | 1 | From 006799e9c4babe8a8340a24501b253e759614a2d Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 13 Jan 2016 19:17:31 +0000 | 3 | Date: Wed, 13 Jan 2016 19:17:31 +0000 |
4 | Subject: [PATCH] Disable -mfpmath=sse as well when SSE is disabled | 4 | Subject: [PATCH] Disable -mfpmath=sse as well when SSE is disabled |
@@ -24,15 +24,16 @@ Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | |||
24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
25 | 25 | ||
26 | Upstream-Status: Pending | 26 | Upstream-Status: Pending |
27 | |||
27 | --- | 28 | --- |
28 | configure.ac | 2 +- | 29 | configure.ac | 2 +- |
29 | 1 file changed, 1 insertion(+), 1 deletion(-) | 30 | 1 file changed, 1 insertion(+), 1 deletion(-) |
30 | 31 | ||
31 | diff --git a/configure.ac b/configure.ac | 32 | diff --git a/configure.ac b/configure.ac |
32 | index 7656f24..0868ea9 100644 | 33 | index cd667a2..8263876 100644 |
33 | --- a/configure.ac | 34 | --- a/configure.ac |
34 | +++ b/configure.ac | 35 | +++ b/configure.ac |
35 | @@ -824,7 +824,7 @@ fi | 36 | @@ -846,7 +846,7 @@ fi |
36 | if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ) && test "x$platform" != xemu; then | 37 | if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ) && test "x$platform" != xemu; then |
37 | # Some toolchains enable these features by default, but they need | 38 | # Some toolchains enable these features by default, but they need |
38 | # registers that aren't set up properly in GRUB. | 39 | # registers that aren't set up properly in GRUB. |
@@ -40,4 +41,4 @@ index 7656f24..0868ea9 100644 | |||
40 | + TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow -mfpmath=387" | 41 | + TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow -mfpmath=387" |
41 | fi | 42 | fi |
42 | 43 | ||
43 | # GRUB doesn't use float or doubles at all. Yet some toolchains may decide | 44 | if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ); then |