]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Remove use of "-Wno-address-of-packed-member" option for OVT builds on FBSD
authorOliver Kurth <okurth@vmware.com>
Wed, 10 Apr 2019 21:14:57 +0000 (14:14 -0700)
committerOliver Kurth <okurth@vmware.com>
Wed, 10 Apr 2019 21:14:57 +0000 (14:14 -0700)
With the HGFS source code refactor to avoid taking the address of a
packed structure memberuse of "-Wno-address-of-packed-member"
is no longer needed to build OVT on FBSD 11.x and FBSD 12.x.

open-vm-tools/configure.ac

index aff1febffdca34be05002d80f6178c469724210b..7dd8cb8c766c3e57090aa040557f1d6874249d7f 100644 (file)
@@ -1163,12 +1163,6 @@ AC_C_VOLATILE
 CFLAGS="$CFLAGS -Wall"
 CFLAGS="$CFLAGS -Werror"
 
-# Suppress warnings from clang when taking the address of packed struct
-# member fields when compiling hgfsServer.c
-if $CC --version | $GREP -i "clang" > /dev/null; then
-   CFLAGS="$CFLAGS -Wno-address-of-packed-member"
-fi
-
 # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident'
 # in Xlib.h on OpenSolaris.
 # Glib2 keep changing mutex APIs so we also need to disable 'deprecated'