[boost-modular-build-helper] Pass address-model=64 on all 64-bit platforms.

This commit is contained in:
Robert Schumacher 2018-05-14 17:10:20 -07:00
parent 8ce9265485
commit b6f1217a63
2 changed files with 4 additions and 2 deletions

View File

@ -28,8 +28,10 @@ else()
list(APPEND B2_OPTIONS link=static)
endif()
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
list(APPEND B2_OPTIONS address-model=64)
else()
list(APPEND B2_OPTIONS address-model=32)
endif()
if(APPLE)

View File

@ -1,2 +1,2 @@
Source: boost-modular-build-helper
Version: 2018-04-16-4
Version: 2018-05-14