Skip to content

Commit ad7a425

Browse files
committed
Disable dependency file generation
This is because ld64 in cctools does not support --dependency-file flag
1 parent e89a1b9 commit ad7a425

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: src/CMakeLists.txt

+14
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
99
include(mig)
1010
include(pyc)
1111

12+
# Force linker settings to match 3.30.5 behavior
13+
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED FALSE)
14+
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED FALSE)
15+
set(CMAKE_CXX_LINK_DEPENDS_USE_LINKER FALSE)
16+
set(CMAKE_C_LINK_DEPENDS_USE_LINKER FALSE)
17+
18+
set(CMAKE_CXX_LINK_LIBRARY_USING_WHOLE_ARCHIVE_SUPPORTED FALSE)
19+
set(CMAKE_C_LINK_LIBRARY_USING_WHOLE_ARCHIVE_SUPPORTED FALSE)
20+
21+
set(CMAKE_CXX_LINKER_INFORMATION_LOADED FALSE)
22+
set(CMAKE_C_LINKER_INFORMATION_LOADED FALSE)
23+
set(CMAKE_CXX_USE_LINKER_INFORMATION FALSE)
24+
set(CMAKE_C_USE_LINKER_INFORMATION FALSE)
25+
1226
#
1327
# start core components
1428
#

0 commit comments

Comments
 (0)