From 712b57853996262c659c0598444a6e5fac6406c5 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sat, 9 Mar 2013 18:42:59 +1100 Subject: [PATCH] configure.ac : Disable stack protector on FreeBSD. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 24696fe..47804d4 100644 --- a/configure.ac +++ b/configure.ac @@ -374,8 +374,8 @@ XIPH_ADD_CFLAGS([-Wextra]) XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2]) case "$host_os" in - mingw32msvc | mingw32) - # Disable for MinGW. Had reports of it not working. + mingw32msvc | mingw32 | freebsd* ) + # Stack protector not working on these platforms 2013/03/09. ;; *) XIPH_ADD_CFLAGS([-fstack-protector --param ssp-buffer-size=4]) -- 2.7.4