Skip to content

Commit

Permalink
Disable dependency file generation
Browse files Browse the repository at this point in the history
This is because ld64 in cctools does not support --dependency-file flag
  • Loading branch information
johnpanos committed Nov 13, 2024
1 parent e89a1b9 commit ad7a425
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit ad7a425

Please sign in to comment.