This was not compiled last time when testing aarch64

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 .../files/disable-address-of-packed-member.patch    | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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.k...@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)
-- 
2.21.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to