aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-09-02 15:05:58 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-07 10:57:38 +0200
commitf96dffa6e08bb772df2f5d4a88ffaaa4d4f4ddf2 (patch)
tree5545d8654856badf55fdab82cbf2a8ce1bd5336d /meta-oe/recipes-support
parentca31d48634990a525d038107797820c1eaef3c44 (diff)
downloadmeta-openembedded-contrib-f96dffa6e08bb772df2f5d4a88ffaaa4d4f4ddf2.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb1
1 files changed, 1 insertions, 0 deletions
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 \