Commit 712b5785 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

configure.ac : Disable stack protector on FreeBSD.

parent 71d630db
...@@ -374,8 +374,8 @@ XIPH_ADD_CFLAGS([-Wextra]) ...@@ -374,8 +374,8 @@ XIPH_ADD_CFLAGS([-Wextra])
XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2]) XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
case "$host_os" in case "$host_os" in
mingw32msvc | mingw32) mingw32msvc | mingw32 | freebsd* )
# Disable for MinGW. Had reports of it not working. # Stack protector not working on these platforms 2013/03/09.
;; ;;
*) *)
XIPH_ADD_CFLAGS([-fstack-protector --param ssp-buffer-size=4]) XIPH_ADD_CFLAGS([-fstack-protector --param ssp-buffer-size=4])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment