Commit 8bec0a1a authored by Karoly Kasza's avatar Karoly Kasza Committed by Thomas Petazzoni
Browse files

openvmtools: disable -Werror

parent b7fcf3bc
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
configure.ac: disable -Werror

Disable the mandatory flag -Werror in configure.ac.

Signed-off-by: Karoly Kasza <kaszak@gmail.com>

--- open-vm-tools-9.4.6-1770165.orig/configure.ac	2014-07-02 00:21:14.000000000 +0200
+++ open-vm-tools-9.4.6-1770165/configure.ac	2014-09-15 16:03:47.565900402 +0200
@@ -832,7 +832,7 @@
 
 ### General flags / actions
 CFLAGS="$CFLAGS -Wall"
-CFLAGS="$CFLAGS -Werror"
+# CFLAGS="$CFLAGS -Werror"
 
 # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' in Xlib.h on OpenSolaris.
 for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \
+0 −4
Original line number Diff line number Diff line
@@ -13,10 +13,6 @@ OPENVMTOOLS_LICENSE_FILES = COPYING
# See http://sourceforge.net/p/open-vm-tools/mailman/message/32550385/
OPENVMTOOLS_AUTORECONF = YES
OPENVMTOOLS_CONF_OPT = --without-icu --without-x --without-gtk2 --without-gtkmm --without-kernel-modules
# -Wno-deprecated-declarations is a workaround for a bug in open-vm-tools
# See http://sourceforge.net/p/open-vm-tools/mailman/message/31473171/
OPENVMTOOLS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -Wno-deprecated-declarations"

OPENVMTOOLS_DEPENDENCIES = libglib2

# When libfuse is available, openvmtools can build vmblock-fuse, so