Commit cd7942d4 authored by unknown's avatar unknown

Bug #12526 yassl: Crashes in "integer.cpp"

 -  Improve detection of when to disable inlining for integer.cpp


config/ac-macros/yassl.m4:
  Use variable $host_cpu the check for sparc.
  Print a message when inlining is disabled
parent dd37fca2
......@@ -23,13 +23,14 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
# System specific checks
yassl_integer_extra_cxxflags=""
case $SYSTEM_TYPE--$CXX_VERSION in
sparc*solaris*--*Sun*C++*5.6*)
case $host_cpu--$CXX_VERSION in
sparc*--*Sun*C++*5.6*)
# Disable inlining when compiling taocrypt/src/integer.cpp
yassl_integer_extra_cxxflags="+d"
AC_MSG_NOTICE([disabling inlining for yassl/taocrypt/src/integer.cpp])
;;
esac
AC_SUBST([yassl_integer_extra_cxxflags])
AC_SUBST([yassl_integer_extra_cxxflags])
else
yassl_dir=""
......
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