mirror of https://github.com/oxen-io/oxen-core.git
Fix boost flags, enable LTO
This commit is contained in:
parent
c4134a589e
commit
026086613a
|
@ -156,7 +156,7 @@ local static_build_deps='autoconf automake make qttools5-dev file libtool gperf
|
|||
|
||||
// Macos builds:
|
||||
mac_builder('macOS (Static)', cmake_extra='-DBUILD_STATIC_DEPS=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DARCH=core2 -DARCH_ID=amd64',
|
||||
build_tests=false, extra_cmds=static_check_and_upload),
|
||||
build_tests=false, extra_cmds=static_check_and_upload, lto=true),
|
||||
mac_builder('macOS (Release)', run_tests=true),
|
||||
mac_builder('macOS (Debug)', build_type='Debug', cmake_extra='-DBUILD_DEBUG_UTILS=ON'),
|
||||
]
|
||||
|
|
|
@ -307,7 +307,7 @@ endif()
|
|||
|
||||
set(boost_buildflags "cxxflags=-fPIC")
|
||||
if(APPLE)
|
||||
set(boost_buildflags "cxxflags=\"-fPIC -mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}\"" "cflags=-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}")
|
||||
set(boost_buildflags "cxxflags=-fPIC -mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}" "cflags=-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}")
|
||||
endif()
|
||||
|
||||
build_external(boost
|
||||
|
|
Loading…
Reference in New Issue