summaryrefslogtreecommitdiff
path: root/storage/sphinx
diff options
context:
space:
mode:
Diffstat (limited to 'storage/sphinx')
-rw-r--r--storage/sphinx/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/sphinx/CMakeLists.txt b/storage/sphinx/CMakeLists.txt
index d9320d10cf7..933f7e32c31 100644
--- a/storage/sphinx/CMakeLists.txt
+++ b/storage/sphinx/CMakeLists.txt
@@ -1,4 +1,5 @@
ADD_DEFINITIONS(-DMYSQL_SERVER)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing")
IF(MSVC)
LINK_LIBRARIES(ws2_32)
ENDIF(MSVC)