diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-07 19:21:42 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-10 18:21:29 +0100 |
commit | 2a0ae1c90acc6332606144719764cb5fc730bf3b (patch) | |
tree | bf975f2ed44fb69fa39b90c8deee2d0716dee600 | |
parent | 5d40ed864eb91314c894c713cd0d3d03c62ec8c5 (diff) | |
download | mariadb-git-2a0ae1c90acc6332606144719764cb5fc730bf3b.tar.gz |
MDEV-11965 -Werror should not appear in released tarballs
-rw-r--r-- | storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake b/storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake index f7e7f76e96e..0cd9a9c5941 100644 --- a/storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake +++ b/storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake @@ -161,9 +161,9 @@ if (NOT CMAKE_CXX_COMPILER_ID STREQUAL Clang) set_cflags_if_supported(-Wcast-align) endif () -## always want these -set(CMAKE_C_FLAGS "-Wall -Werror ${CMAKE_C_FLAGS}") -set(CMAKE_CXX_FLAGS "-Wall -Werror ${CMAKE_CXX_FLAGS}") +## always want these in debug builds +set(CMAKE_C_FLAGS_DEBUG "-Wall -Werror ${CMAKE_C_FLAGS_DEBUG}") +set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror ${CMAKE_CXX_FLAGS_DEBUG}") # pick language dialect set(CMAKE_C_FLAGS "-std=c99 ${CMAKE_C_FLAGS}") |