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>
This commit is contained in:
Khem Raj
2017-09-02 15:05:58 -07:00
committed by Martin Jansa
parent ca31d48634
commit f96dffa6e0
@@ -66,6 +66,7 @@ PACKAGECONFIG[x11] = ",${NO_X11_FLAGS},${X11_DEPENDS}"
# fuse gets implicitly detected; there is no --without-fuse option. # fuse gets implicitly detected; there is no --without-fuse option.
PACKAGECONFIG[fuse] = ",,fuse" PACKAGECONFIG[fuse] = ",,fuse"
CFLAGS_append_toolchain-clang = " -Wno-address-of-packed-member"
FILES_${PN} += "\ FILES_${PN} += "\
${libdir}/open-vm-tools/plugins/vmsvc/lib*.so \ ${libdir}/open-vm-tools/plugins/vmsvc/lib*.so \
${libdir}/open-vm-tools/plugins/common/lib*.so \ ${libdir}/open-vm-tools/plugins/common/lib*.so \