Commit cd7942d4 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -23,10 +23,11 @@ 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])