Navigation Menu

Skip to content

Commit

Permalink
mariadb: need -fno-rtti for all MariaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 23, 2018
1 parent 8c596d5 commit 5e82e35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Expand Up @@ -384,8 +384,7 @@ else()
mrn_build_flag("-Wno-strict-aliasing")
mrn_build_flag("-Wno-deprecated")
mrn_check_cxxflag("-felide-constructors")
if("${MYSQL_VARIANT}" STREQUAL "MariaDB" AND
${MYSQL_VERSION} VERSION_LESS "10.1.0")
if("${MYSQL_VARIANT}" STREQUAL "MariaDB")
mrn_check_cxxflag("-fno-rtti")
endif()
endif()
Expand Down

0 comments on commit 5e82e35

Please sign in to comment.