aarch64: Disable -fstack-protector.

I'm using gcc-4.8.2-7.fc21.aarch64 which does not appear to support
this option.
This commit is contained in:
Richard W.M. Jones 2014-01-01 13:42:49 +00:00
parent a01cf01fff
commit fe881ae086

View File

@ -163,6 +163,9 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
dnl -fstack-protector stuff passes gl_WARN_ADD with gcc
dnl on Mingw32, but fails when actually used
case $host in
aarch64-*-*)
dnl "error: -fstack-protector not supported for this target [-Werror]"
;;
*-*-linux*)
dnl Fedora only uses -fstack-protector, but doesn't seem to
dnl be great overhead in adding -fstack-protector-all instead