mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
Merge pull request #49403 from tchaikov/cmake-boost
cmake: pass cflags using compileflags in BuildBoost.cmake Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
This commit is contained in:
commit
8b4db5d51c
@ -63,8 +63,6 @@ function(do_build_boost root_dir version)
|
||||
else()
|
||||
list(APPEND boost_features "address-model=32")
|
||||
endif()
|
||||
set(BOOST_CXXFLAGS "-fPIC -w") # check on arm, etc <---XXX
|
||||
list(APPEND boost_features "cxxflags=${BOOST_CXXFLAGS}")
|
||||
|
||||
set(boost_with_libs)
|
||||
foreach(c ${Boost_BUILD_COMPONENTS})
|
||||
@ -110,6 +108,7 @@ function(do_build_boost root_dir version)
|
||||
"using ${toolset}"
|
||||
" : "
|
||||
" : ${CMAKE_CXX_COMPILER}"
|
||||
" : <compileflags>-fPIC <compileflags>-w <compileflags>-Wno-everything"
|
||||
" ;\n")
|
||||
if(with_python_version)
|
||||
find_package(Python3 ${with_python_version} QUIET REQUIRED
|
||||
|
Loading…
Reference in New Issue
Block a user