diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-12-08 09:44:53 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-12-08 09:44:53 +0400 |
commit | a61fbf87ed9f6bb68332b81bc1024d1ded944d3d (patch) | |
tree | 90c64fc8cbe93f7a37c9cedc16a9fb35a5a0b569 | |
parent | 08dae447118b49b99499ccc456c9a72afa651f24 (diff) | |
download | mariadb-git-a61fbf87ed9f6bb68332b81bc1024d1ded944d3d.tar.gz |
Adding the -Wnon-virtual-dtor GCC/CLang flag in maintainer mode
-rw-r--r-- | cmake/maintainer.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/maintainer.cmake b/cmake/maintainer.cmake index bd2cfd7097c..77f55837fdb 100644 --- a/cmake/maintainer.cmake +++ b/cmake/maintainer.cmake @@ -51,7 +51,7 @@ IF(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang") ENDIF() # Set warning flags for G++/Clang++ IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") - SET(MY_MAINTAINER_CXX_WARNINGS "${MY_CXX_WARNING_FLAGS}") + SET(MY_MAINTAINER_CXX_WARNINGS "${MY_CXX_WARNING_FLAGS} -Wnon-virtual-dtor") ENDIF() IF(MYSQL_MAINTAINER_MODE MATCHES "ON") |