diff options
author | msvensson@neptunus.(none) <> | 2005-09-27 17:03:43 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-09-27 17:03:43 +0200 |
commit | eaf4801bfc6ee12035e721caabff331b4f5ceed6 (patch) | |
tree | 54ac8529489ce742bfc89b93376535d5bd5d77d2 /config | |
parent | 7de902fcefc0359bde4492b1ff804aefc5c9628b (diff) | |
download | mariadb-git-eaf4801bfc6ee12035e721caabff331b4f5ceed6.tar.gz |
Bug #12526 yassl: Crashes in "integer.cpp"
- Improve detection of when to disable inlining for integer.cpp
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/yassl.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/ac-macros/yassl.m4 b/config/ac-macros/yassl.m4 index 7af39db48be..972e4530dab 100644 --- a/config/ac-macros/yassl.m4 +++ b/config/ac-macros/yassl.m4 @@ -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="" |