diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-10-29 10:11:07 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-10-29 10:46:37 +0100 |
commit | 239e0c571e4fa23ef67310029178269ad03912a5 (patch) | |
tree | 48b66b320c290d3ce3402b1c813fe78b708f6f90 /storage/mroonga/vendor | |
parent | 9164a243112ef2df46ed2d63234552dc658c112a (diff) | |
download | mariadb-git-239e0c571e4fa23ef67310029178269ad03912a5.tar.gz |
MDEV-8551 compilation fails with 10.1.6
Restore changes that were lost in a merge. Originally from
commit 66fd45a
Author: Sergei Golubchik <serg@mariadb.org>
Date: Mon Jun 8 21:06:56 2015 +0200
MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4
Diffstat (limited to 'storage/mroonga/vendor')
-rw-r--r-- | storage/mroonga/vendor/groonga/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/mroonga/vendor/groonga/CMakeLists.txt b/storage/mroonga/vendor/groonga/CMakeLists.txt index 625a65b48d0..2d8a59fa664 100644 --- a/storage/mroonga/vendor/groonga/CMakeLists.txt +++ b/storage/mroonga/vendor/groonga/CMakeLists.txt @@ -143,7 +143,7 @@ if(CMAKE_COMPILER_IS_GNUCC) endif() -if(CMAKE_COMPILER_IS_GNUCXX) +if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX) MY_CHECK_AND_SET_COMPILER_FLAG("-Wall") MY_CHECK_AND_SET_COMPILER_FLAG("-Wextra") MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-unused-but-set-variable") @@ -176,7 +176,7 @@ endif() option(GRN_WITH_DEBUG "enable debug build." OFF) if(GRN_WITH_DEBUG) - if(CMAKE_COMPILER_IS_GNUCXX) + if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX) set(GRN_C_COMPILE_FLAGS "${GRN_C_COMPILE_FLAGS} -g3 -O0") set(GRN_CXX_COMPILE_FLAGS "${GRN_CXX_COMPILE_FLAGS} -g3 -O0") endif() |