Disable dependency file generation

This is because ld64 in cctools does not support --dependency-file flag
This commit is contained in:
John Panos 2024-11-13 09:20:43 -08:00
parent e89a1b960e
commit ad7a4252ce

View File

@ -9,6 +9,20 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
include(mig)
include(pyc)
# Force linker settings to match 3.30.5 behavior
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED FALSE)
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED FALSE)
set(CMAKE_CXX_LINK_DEPENDS_USE_LINKER FALSE)
set(CMAKE_C_LINK_DEPENDS_USE_LINKER FALSE)
set(CMAKE_CXX_LINK_LIBRARY_USING_WHOLE_ARCHIVE_SUPPORTED FALSE)
set(CMAKE_C_LINK_LIBRARY_USING_WHOLE_ARCHIVE_SUPPORTED FALSE)
set(CMAKE_CXX_LINKER_INFORMATION_LOADED FALSE)
set(CMAKE_C_LINKER_INFORMATION_LOADED FALSE)
set(CMAKE_CXX_USE_LINKER_INFORMATION FALSE)
set(CMAKE_C_USE_LINKER_INFORMATION FALSE)
#
# start core components
#