On 09/12/2012 09:42 AM, Christophe Fergeau wrote: > Fix copied from libvirt, commit by Eric Blake. > > glibc 2.15 (on Fedora 17) coupled with explicit disabling of > optimization during development dies a painful death: > > /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires > compiling with optimization (-O) [-Werror=cpp] > > Work around this by only conditionally defining _FORTIFY_SOURCE, > in the case where glibc can actually use it. The trick is using > AH_VERBATIM instead of AC_DEFINE. > --- > m4/virt-compile-warnings.m4 | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Which project? Your git config settings didn't identify which repo this was for, which was particularly confusing since the same filename exists in the libvirt.git repo. -- Eric Blake eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list