]> git.ipfire.org Git - thirdparty/libvirt.git/commit
FreeBSD: disable buggy -fstack-protector-all
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 15 May 2013 15:41:49 +0000 (19:41 +0400)
committerEric Blake <eblake@redhat.com>
Wed, 15 May 2013 21:20:52 +0000 (15:20 -0600)
commitcc7cd6232ebfbf1a0e4edd51d9f5ca43a73eda10
tree04d481bba7f4962e26378caac76cf647db65482e
parenta2c37618d30dd37b7ab1b0c06d34c6325adb0211
FreeBSD: disable buggy -fstack-protector-all

FreeBSD ships an old gcc 4.2.1 which generates
bogus code, e.g. getsockopt() call returns
struct xucred with bogus values, which doesn't even
allow to connect to libvirtd:

error: Failed to find group record for gid '1284660778': No error: 0

So roll back to just -fstack-protector on FreeBSD.
m4/virt-compile-warnings.m4