On 04/05/2011 09:03 AM, Daniel P. Berrange wrote:
The GCC Win32 compiler will claim to support -fstack-protector,
but if it actually gets triggered by a suitable code pattern,
linking will fail. Other non-Linux OS likely suffer the same
way with gcc.
* m4/virt-compile-warnings.m4: Only use stack protector when
the build target is Linux.
---
m4/virt-compile-warnings.m4 | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org