configure.ac : Disable stack protector on FreeBSD.

This commit is contained in:
Erik de Castro Lopo
2013-03-09 18:42:59 +11:00
parent 71d630dbba
commit 712b578539

View File

@@ -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])