1 diff --git a/cmake/modules/Distutils.cmake b/cmake/modules/Distutils.cmake
2 index 5697dff85f..7fdcfe4112 100644
3 --- a/cmake/modules/Distutils.cmake
4 +++ b/cmake/modules/Distutils.cmake
5 @@ -61,7 +61,7 @@ function(distutils_add_cython_module name src)
8 LDSHARED="${PY_LDSHARED}"
9 - OPT=\"-DNDEBUG -g -fwrapv -O2 -w\"
10 + OPT=\"-DNDEBUG -g -fwrapv -w\"
11 LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
12 CYTHON_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}
13 CEPH_LIBDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}