summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-03-02 16:38:33 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-04 14:26:41 +0000
commitc2cb8827dc5bdeadd78f462398630c05e5a9ebb7 (patch)
tree5523e2ce6ca06cac402f5d51858eebe41c503542 /meta
parentad792edf61157f6cd63a2c6aa8e53edc134301d0 (diff)
downloadopenembedded-core-c2cb8827dc5bdeadd78f462398630c05e5a9ebb7.tar.gz
openembedded-core-c2cb8827dc5bdeadd78f462398630c05e5a9ebb7.tar.bz2
openembedded-core-c2cb8827dc5bdeadd78f462398630c05e5a9ebb7.zip
grub: Enhance Waddress-of-packed-member patch to cover x86_64 testcase
This was not compiled for x86_64 when previously testing aarch64 so some tests were missed. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
index 4af6a599d5..415f52ebe3 100644
--- a/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
+++ b/meta/recipes-bsp/grub/files/disable-address-of-packed-member.patch
@@ -247,3 +247,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
static grub_dl_t my_mod;
+--- a/grub-core/commands/usbtest.c
++++ b/grub-core/commands/usbtest.c
+@@ -63,6 +63,10 @@ static const char *usb_devspeed[] =
+ "High"
+ };
+
++#if __GNUC__ >= 9
++#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
++#endif
++
+ static grub_usb_err_t
+ grub_usb_get_string (grub_usb_device_t dev, grub_uint8_t index, int langid,
+ char **string)