[libvirt] [PATCH 3/3] Don't try to enable stack protector on Win32

Eric Blake eblake at redhat.com
Tue Apr 5 15:33:05 UTC 2011


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110405/cc5fccc9/attachment-0001.sig>


More information about the libvir-list mailing list