From 7af03482b85465c1b3927cabf8c03a624439e77d Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 9 Oct 2018 09:35:04 +0300 Subject: Fix grub-efi-native build with GCC8 Task-number: QTBUG-70995 Change-Id: I1c060907480d0f2000ebd739f62c5acd39a336fc Reviewed-by: Mikko Gronoff --- meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend b/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend index 0104aab..9d20c18 100644 --- a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend +++ b/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend @@ -30,6 +30,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://grub.cfg" +CFLAGS_append_class-native = " -Wno-error=packed-not-aligned" + do_install[depends] += " \ virtual/kernel:do_deploy \ ${INITRAMFS_IMAGE}:do_rootfs \ -- cgit v1.2.3-54-g00ecf