archrelease: copy trunk to community-any
[ArchLinux/community.git] / ceph / trunk / ceph-14.2.0-cflags.patch
blob3a9f52c879b71dd4915ede16aaf20388e05a3aff
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)
6 CC="${PY_CC}"
7 CXX="${PY_CXX}"
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}