summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
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:27:06 +0000
commitd39298688668f273584b76fce4a6ed51a4a7c278 (patch)
tree4c6a74c067a143e8acf492d66e2b8209c445e501 /meta/recipes-bsp
parentd967e6d6f287adaa2d993f11f88a5be6da88a082 (diff)
downloadpoky-d39298688668f273584b76fce4a6ed51a4a7c278.tar.gz
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. (From OE-Core rev: c2cb8827dc5bdeadd78f462398630c05e5a9ebb7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-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>
247 247
248 static grub_dl_t my_mod; 248 static grub_dl_t my_mod;
249 249
250--- a/grub-core/commands/usbtest.c
251+++ b/grub-core/commands/usbtest.c
252@@ -63,6 +63,10 @@ static const char *usb_devspeed[] =
253 "High"
254 };
255
256+#if __GNUC__ >= 9
257+#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
258+#endif
259+
260 static grub_usb_err_t
261 grub_usb_get_string (grub_usb_device_t dev, grub_uint8_t index, int langid,
262 char **string)