]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: silence some compiler warnings from gnulib
authorEric Blake <eblake@redhat.com>
Thu, 12 Jan 2012 21:14:44 +0000 (14:14 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 19 Jan 2012 20:14:10 +0000 (13:14 -0700)
commitd940e3bdb95371c19a99d3d7c043af068cb1590e
tree28aaa5b98e2ece62ed70ba48fe78fd67d535df59
parent927cfaf467a1eb5d2a0fea3a262ea9b212440c91
build: silence some compiler warnings from gnulib

Gnulib claims that there are some classes of warnings that are
worth enabling during development, but where silencing those
warnings causes code bloat that is not necessary in an optimized
build.  The code bloat to silence the warnings is only enabled
by -Dlint.  Follow the lead of coreutils in setting up -Dlint
whenever full warnings are requested.

* m4/virt-compile-warnings.m4 (LIBVIRT_COMPILE_WARNINGS): Add
-Dlint, and move _FORTIFY_SOURCE to config.h instead of CFLAGS.
m4/virt-compile-warnings.m4