[Groonga-mysql-commit] mroonga/mroonga at 76fdfd3 [master] cmake: use -fno-rtti for MySQL < 5.7

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Aug 24 10:12:39 JST 2018


Kouhei Sutou	2018-08-24 10:12:39 +0900 (Fri, 24 Aug 2018)

  Revision: 76fdfd30ada6e288d8b7e962797a1e5d1426b78a
  https://github.com/mroonga/mroonga/commit/76fdfd30ada6e288d8b7e962797a1e5d1426b78a

  Message:
    cmake: use -fno-rtti for MySQL < 5.7

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+2 -1)
===================================================================
--- CMakeLists.txt    2018-08-23 18:25:31 +0900 (fc90ee9c)
+++ CMakeLists.txt    2018-08-24 10:12:39 +0900 (a81b1aba)
@@ -384,7 +384,8 @@ else()
     mrn_build_flag("-Wno-strict-aliasing")
     mrn_build_flag("-Wno-deprecated")
     mrn_check_cxxflag("-felide-constructors")
-    if("${MYSQL_VARIANT}" STREQUAL "MariaDB")
+    if("${MYSQL_VARIANT}" STREQUAL "MariaDB" OR
+        ${MYSQL_VERSION} VERSION_LESS "5.7.0")
       mrn_check_cxxflag("-fno-rtti")
     endif()
   endif()
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180824/a8b63d3e/attachment.htm 



More information about the Groonga-mysql-commit mailing list
Back to archive index