mirror of
https://github.com/ceph/ceph
synced 2025-01-18 00:43:38 +00:00
cmake/modules/BuildBoost.cmake: fix build for armhf
see also https://www.boost.org/doc/libs/1_70_0/libs/context/doc/html/context/architectures.html Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
beb0c343b3
commit
2fa4013818
@ -125,7 +125,11 @@ function(do_build_boost version)
|
||||
if(with_python_version)
|
||||
list(APPEND b2 python=${with_python_version})
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "arm|ARM")
|
||||
list(APPEND b2 abi=aapcs)
|
||||
list(APPEND b2 architecture=arm)
|
||||
list(APPEND b2 binary-format=elf)
|
||||
endif()
|
||||
set(build_command
|
||||
${b2} headers stage
|
||||
#"--buildid=ceph" # changes lib names--can omit for static
|
||||
|
Loading…
Reference in New Issue
Block a user