mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 17:39:24 +00:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user