We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff6652 commit 8bdb288Copy full SHA for 8bdb288
CMakeLists.txt
@@ -167,9 +167,7 @@ if(BYN_ENABLE_LTO)
167
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
168
message(FATAL_ERROR "ThinLTO is only supported by clang")
169
endif()
170
- if(NOT APPLE)
171
- add_link_flag("-fuse-ld=lld")
172
- endif()
+ add_link_flag("-fuse-ld=lld")
173
set_property(GLOBAL APPEND PROPERTY JOB_POOLS link_job_pool=2)
174
set(CMAKE_JOB_POOL_LINK link_job_pool)
175
add_compile_flag("-flto=thin")
0 commit comments