From ede7768d36ef70f1fbc5eb185618b87d9e38f1d0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 2 Sep 2017 15:05:58 -0700 Subject: open-vm-tools: Add -Wno-address-of-packed-member for with clang This option ignores a warning as following error: taking address of packed member 'actualSize' of class or structure 'HgfsReplyReadV3' may result in an unaligned pointer value Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb b/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb index f7746c8e35..dc8faa4ead 100644 --- a/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb +++ b/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb @@ -66,6 +66,7 @@ PACKAGECONFIG[x11] = ",${NO_X11_FLAGS},${X11_DEPENDS}" # fuse gets implicitly detected; there is no --without-fuse option. PACKAGECONFIG[fuse] = ",,fuse" +CFLAGS_append_toolchain-clang = " -Wno-address-of-packed-member" FILES_${PN} += "\ ${libdir}/open-vm-tools/plugins/vmsvc/lib*.so \ ${libdir}/open-vm-tools/plugins/common/lib*.so \ -- cgit 1.2.3-korg