From c9b95de246ccaad22abf90996f295b05fe85f53d Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 11 Aug 2012 10:31:10 +0200 Subject: [PATCH] MDEV-336 oqgraph 5.5 crashes in buildbot compile oqgraph with -fno-strict-aliasing --- storage/oqgraph/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/oqgraph/CMakeLists.txt b/storage/oqgraph/CMakeLists.txt index ecd2d46dad3..83acb99b2a2 100644 --- a/storage/oqgraph/CMakeLists.txt +++ b/storage/oqgraph/CMakeLists.txt @@ -26,7 +26,7 @@ IF(BOOST_OK) IF(MSVC) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc") ELSE(MSVC) - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated") + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -fno-strict-aliasing") STRING(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) ENDIF(MSVC)