summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/files/grub-1.99-fix-enable_execute_stack-check.patch
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2012-08-21 14:48:38 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-23 11:43:34 +0100
commit8e335f1da265cdb0ea2d5f95b3dfe8c856213c96 (patch)
treeda9127c7d3a1623a76aace5147d442faa3bd4d2d /meta/recipes-bsp/grub/files/grub-1.99-fix-enable_execute_stack-check.patch
parent1192ace3185f3293508531687e1d199b03934460 (diff)
downloadpoky-8e335f1da265cdb0ea2d5f95b3dfe8c856213c96.tar.gz
grub-efi-native: Update to version 2.00
Added -Wno-unused-result because of a read() with no result, and causing error due to -Werror Updated grub recipe because of a patch name change Removed unnecessary patches (merged upstream). (From OE-Core rev: 88cd5d99918a896f515e8bb59b7238f3ad50adff) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/files/grub-1.99-fix-enable_execute_stack-check.patch')
-rw-r--r--meta/recipes-bsp/grub/files/grub-1.99-fix-enable_execute_stack-check.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-bsp/grub/files/grub-1.99-fix-enable_execute_stack-check.patch b/meta/recipes-bsp/grub/files/grub-1.99-fix-enable_execute_stack-check.patch
deleted file mode 100644
index 9d7272b269..0000000000
--- a/meta/recipes-bsp/grub/files/grub-1.99-fix-enable_execute_stack-check.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Upstream-Status: Pending
2
3
4This patch avoids this configure failure
5
6configure:20306: checking whether `ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/builddisk/build/build0/tmp/sysroots/emenlow' generates calls to `__enable_execute_stack()'
7configure:20320: ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/builddisk/build/build0/tmp/sysroots/emenlow -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -mfpmath=387 -fno-dwarf2-cfi-asm -m32 -fno-stack-protector -mno-stack-arg-probe -Werror -Wno-trampolines -falign-loops=1 -S conftest.c
8conftest.c:308:6: error: no previous prototype for 'g' [-Werror=missing-prototypes]
9cc1: all warnings being treated as errors
10configure:20323: $? = 1
11configure:20327: error: ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/builddisk/build/build0/tmp/sysroots/emenlow failed to produce assembly code
12
13Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
142012/04/13
15
16Index: grub-1.99/acinclude.m4
17===================================================================
18--- grub-1.99.orig/acinclude.m4
19+++ grub-1.99/acinclude.m4
20@@ -317,6 +317,7 @@ dnl Check if the C compiler generates ca
21 AC_DEFUN([grub_CHECK_ENABLE_EXECUTE_STACK],[
22 AC_MSG_CHECKING([whether `$CC' generates calls to `__enable_execute_stack()'])
23 AC_LANG_CONFTEST([[
24+void g (int);
25 void f (int (*p) (void));
26 void g (int i)
27 {