Commit a8458706 authored by Tristan Matthews's avatar Tristan Matthews Committed by Erik de Castro Lopo
Browse files

configure: Only use -mstackrealign on i686 for mingw32/os2


Signed-off-by: Erik de Castro Lopo's avatarErik de Castro Lopo <erikd@mega-nerd.com>
parent 1ed65e56
...@@ -399,11 +399,17 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then ...@@ -399,11 +399,17 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then
if test "x$asm_optimisation$sse_os" = "xyesyes" ; then if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
XIPH_ADD_CFLAGS([-msse2]) XIPH_ADD_CFLAGS([-msse2])
XIPH_ADD_CFLAGS([-mstackrealign])
fi fi
fi fi
case "$host_os" in
"mingw32"|"os2")
if test "$host_cpu" = "i686"; then
XIPH_ADD_CFLAGS([-mstackrealign])
fi
esac
XIPH_ADD_CFLAGS([-Wextra]) XIPH_ADD_CFLAGS([-Wextra])
if test x$enable_werror = "xyes" ; then if test x$enable_werror = "xyes" ; then
......
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