summaryrefslogtreecommitdiff
path: root/storage/spider
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@seravo.fi>2015-09-05 21:28:14 +0300
committerOtto Kekäläinen <otto@seravo.fi>2015-09-05 21:28:14 +0300
commitd6c5e7e2cc16fa63875ef9e5a63caf5c9f147e7c (patch)
treec0c1c07edf6beeb1b8e97783934b5b9a778117da /storage/spider
parentb9fee60871264ea56a5582ca7a436aabdabea6fc (diff)
parent67dbfab3d7945886caf6ba8de6a17799e3db25aa (diff)
downloadmariadb-git-d6c5e7e2cc16fa63875ef9e5a63caf5c9f147e7c.tar.gz
Merge branch '10.1' of https://github.com/MariaDB/server into ok-debpkg-10.1
Diffstat (limited to 'storage/spider')
-rw-r--r--storage/spider/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/spider/CMakeLists.txt b/storage/spider/CMakeLists.txt
index 33786e2b85a..402c74b2cde 100644
--- a/storage/spider/CMakeLists.txt
+++ b/storage/spider/CMakeLists.txt
@@ -1,10 +1,7 @@
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_HANDLERSOCKET")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_HANDLERSOCKET")
-IF(HAVE_WVLA)
- SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wno-vla")
- SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wno-vla")
-ENDIF()
+MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-vla" DEBUG)
SET(SPIDER_SOURCES
spd_param.cc spd_sys_table.cc spd_trx.cc spd_db_conn.cc spd_conn.cc