summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
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>
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)