diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-25 22:03:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-25 22:07:05 +0200 |
commit | 4770c4ef83f89fc3348fd6df636b0e4adac05d16 (patch) | |
tree | d6ef1f8fad66eab9a65a320ef43b4e604d2e6080 /docs/manual/adding-packages-generic.txt | |
parent | 238761e3903093ef93c26fa9e788be0c4b6ffe52 (diff) | |
download | buildroot-4770c4ef83f89fc3348fd6df636b0e4adac05d16.tar.gz buildroot-4770c4ef83f89fc3348fd6df636b0e4adac05d16.zip |
grub2: add patch to fix build with recent gcc versions
This commit backports a patch from upstream grub2 that fixes a build
issue occuring at least with recent gcc versions:
gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
static struct grub_gettext_context main_context, secondary_context;
Fixes bug #8991.
Bug reproduced with:
BR2_x86_64=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_6_X=y
BR2_TARGET_GRUB2=y
BR2_TARGET_GRUB2_X86_64_EFI=y
BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop terminal"
and verified fixed after adding this patch.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/adding-packages-generic.txt')
0 files changed, 0 insertions, 0 deletions