diff options
Diffstat (limited to 'meta/recipes-bsp/grub/files/grub-1.99-gcc-4.7.0.patch')
-rw-r--r-- | meta/recipes-bsp/grub/files/grub-1.99-gcc-4.7.0.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/files/grub-1.99-gcc-4.7.0.patch b/meta/recipes-bsp/grub/files/grub-1.99-gcc-4.7.0.patch new file mode 100644 index 0000000000..545954a307 --- /dev/null +++ b/meta/recipes-bsp/grub/files/grub-1.99-gcc-4.7.0.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | Upstream-Status: backport from fedora | ||
2 | |||
3 | 2012/04/13 | ||
4 | Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
5 | |||
6 | From b0f4ef523b69a497d69820c09bbb07484a6b09cc Mon Sep 17 00:00:00 2001 | ||
7 | From: Peter Jones <pjones@redhat.com> | ||
8 | Date: Wed, 7 Mar 2012 09:53:50 -0500 | ||
9 | Subject: [PATCH] Fix gcc error that kills build. | ||
10 | |||
11 | --- | ||
12 | conf/Makefile.common | 4 ++-- | ||
13 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/conf/Makefile.common b/conf/Makefile.common | ||
16 | index 2040a2e..b3ba765 100644 | ||
17 | --- a/conf/Makefile.common | ||
18 | +++ b/conf/Makefile.common | ||
19 | @@ -11,10 +11,10 @@ if COND_i386_pc | ||
20 | CFLAGS_PLATFORM += -mrtd -mregparm=3 | ||
21 | endif | ||
22 | if COND_i386_efi | ||
23 | - LDFLAGS_PLATFORM = -melf_i386 | ||
24 | + LDFLAGS_PLATFORM = -m32 | ||
25 | endif | ||
26 | if COND_x86_64_efi | ||
27 | - LDFLAGS_PLATFORM = -melf_x86_64 | ||
28 | + LDFLAGS_PLATFORM = -m64 | ||
29 | endif | ||
30 | if COND_i386_qemu | ||
31 | CFLAGS_PLATFORM += -mrtd -mregparm=3 | ||
32 | -- | ||
33 | 1.7.7.6 | ||
34 | |||