We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57287b5 commit e0f9e77Copy full SHA for e0f9e77
tools/pybind11Common.cmake
@@ -335,7 +335,7 @@ function(_pybind11_generate_lto target prefer_thin_lto)
335
set(PYBIND11_LTO_LINKER_FLAGS "-flto${thin}${linker_append}")
336
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
337
_pybind11_return_if_cxx_and_linker_flags_work(
338
- HAS_FLTO_THIN "-flto${thin}${cxx_append}" "-flto=${thin}${linker_append}"
+ HAS_FLTO_THIN "-flto${thin}${cxx_append}" "-flto${thin}${linker_append}"
339
PYBIND11_LTO_CXX_FLAGS PYBIND11_LTO_LINKER_FLAGS)
340
endif()
341
if(NOT HAS_FLTO_THIN)
0 commit comments