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,10 +23,11 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [ ...@@ -23,10 +23,11 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
# System specific checks # System specific checks
yassl_integer_extra_cxxflags="" yassl_integer_extra_cxxflags=""
case $SYSTEM_TYPE--$CXX_VERSION in case $host_cpu--$CXX_VERSION in
sparc*solaris*--*Sun*C++*5.6*) sparc*--*Sun*C++*5.6*)
# Disable inlining when compiling taocrypt/src/integer.cpp # Disable inlining when compiling taocrypt/src/integer.cpp
yassl_integer_extra_cxxflags="+d" yassl_integer_extra_cxxflags="+d"
AC_MSG_NOTICE([disabling inlining for yassl/taocrypt/src/integer.cpp])
;; ;;
esac esac
AC_SUBST([yassl_integer_extra_cxxflags]) AC_SUBST([yassl_integer_extra_cxxflags])
......
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