diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-24 20:48:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-24 20:48:34 +0100 |
commit | 9d0673651c57438d51e18c6b8ca894d0491b2df3 (patch) | |
tree | c5b6cd187b8998d2c56d3b279ac425973d4c3a33 /sys-cluster/ceph/files/ceph-17.2.3-flags.patch | |
parent | be21a4c281fc76681a84dd2f103e850866ce4946 (diff) |
gentoo auto-resync : 24:08:2022 - 20:48:33
Diffstat (limited to 'sys-cluster/ceph/files/ceph-17.2.3-flags.patch')
-rw-r--r-- | sys-cluster/ceph/files/ceph-17.2.3-flags.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-cluster/ceph/files/ceph-17.2.3-flags.patch b/sys-cluster/ceph/files/ceph-17.2.3-flags.patch new file mode 100644 index 000000000000..236ff5441831 --- /dev/null +++ b/sys-cluster/ceph/files/ceph-17.2.3-flags.patch @@ -0,0 +1,19 @@ +diff --git a/cmake/modules/Distutils.cmake b/cmake/modules/Distutils.cmake +index 1916363382f..ae460d84542 100644 +--- a/cmake/modules/Distutils.cmake ++++ b/cmake/modules/Distutils.cmake +@@ -94,12 +94,12 @@ function(distutils_add_cython_module target name src) + COMMAND + env + CC="${PY_CC}" +- CFLAGS="${PY_CFLAGS}" ++ CFLAGS="${PY_CFLAGS}"\ ${CMAKE_C_FLAGS} + CPPFLAGS="${PY_CPPFLAGS}" + CXX="${PY_CXX}" + LDSHARED="${PY_LDSHARED}" + OPT=\"-DNDEBUG -g -fwrapv -w\" +- LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY} ++ LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\ ${CMAKE_LINKER_FLAGS}\ ${CMAKE_SHARED_LINKER_FLAGS} + CYTHON_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR} + CEPH_LIBDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY} + ${Python3_EXECUTABLE} ${setup_py} |