summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2014-08-26 14:57:09 +0400
committerSergey Vojtovich <svoj@mariadb.org>2014-08-26 14:57:09 +0400
commitbb11eb82d5dce664e151519577df173acb31ee91 (patch)
tree94ed07b9d05778d62c9f2505ebcbbcaa62f86bb4 /configure.cmake
parent378878e1e929982a829aba27470e4b153cf7970b (diff)
downloadmariadb-git-bb11eb82d5dce664e151519577df173acb31ee91.tar.gz
MDEV-6305 - UNINIT_VAR emits code in non-debug builds
Reverted workaround for gcc bug, which was fixed 3 years ago: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34772
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index 7ec87f6e9a8..4adc977b192 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -55,7 +55,7 @@ ENDIF()
# Always enable -Wall for gnu C/C++
IF(CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_CXX_FLAGS MATCHES ".*-Wall.*")
- SET(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS} -Wall -Wno-unused-parameter")
+ SET(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS} -Wall -Wno-unused-parameter -Wno-init-self")
ENDIF()
IF(CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_C_FLAGS MATCHES ".*-Wall.*")
SET(CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS} -Wall")