summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-19 18:14:16 (GMT)
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-19 18:18:28 (GMT)
commit99641cc0e114f95a972e57e9e4d5fddc82bf6722 (patch)
treeed950ae8a18a981cd4e45318a62a196276e0e7fd
parent7aa8bbea09b6a1b6413e8fd4892df5a27a8d7232 (diff)
downloaddefinitions-baserock/franred/disable-werror-when-compiling-libvirt.tar.gz
Disable warnings as errors in libvirtbaserock/franred/disable-werror-when-compiling-libvirt
This patch disable the libvirt's treatment of warning as errors, solving the following error when compiling: node_device/node_device_udev.c: In function 'nodeStateInitialize': node_device/node_device_udev.c:1789:5: error: 'udev_set_log_fn' is deprecated (declared at /usr/include/libudev.h:41) [-Werror=deprecated-declarations] udev_set_log_fn(udev, (udevLogFunctionPtr) udevLogFunction); ^ CC nwfilter/libvirt_driver_nwfilter_impl_la-nwfilter_dhcpsnoop.lo cc1: all warnings being treated as errors Makefile:8224: recipe for target 'node_device/libvirt_driver_nodedev_la-node_device_udev.lo' failed make[3]: *** [node_device/libvirt_driver_nodedev_la-node_device_udev.lo] Error 1
-rw-r--r--strata/virtualization/libvirt.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/strata/virtualization/libvirt.morph b/strata/virtualization/libvirt.morph
index e6d348b..bdc99dd 100644
--- a/strata/virtualization/libvirt.morph
+++ b/strata/virtualization/libvirt.morph
@@ -19,7 +19,7 @@ configure-commands:
--with-secrets --with-storage-dir --with-storage-fs --with-storage-lvm \
--without-storage-iscsi --without-storage-scsi --without-storage-mpath \
--without-storage-disk --with-storage-rbd --without-storage-sheepdog \
- --without-storage-gluster --without-wireshark-dissector \
+ --without-storage-gluster --without-wireshark-dissector --disable-werror \
--prefix="$PREFIX"
system-integration:
libvirt-misc: