Skip to content

Commit 3204e2a

Browse files
authored
Merge pull request #62458 from apple/egorzhdan/cxx-unused-cmake-arg
[cxx-interop] NFC: Remove unused CMake build logic
2 parents deab4cb + 42c7ce1 commit 3204e2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,6 @@ endfunction()
365365
# [EMBED_BITCODE] # Embed LLVM bitcode into the .o files
366366
# [STATIC] # Also write .swiftmodule etc. to static
367367
# # resource folder
368-
# [NO_LINK_NAME] # Do not pass -module-link-name flag.
369-
# # This disables emission of force load symbol.
370368
# )
371369
function(_compile_swift_files
372370
dependency_target_out_var_name dependency_module_target_out_var_name
@@ -375,7 +373,7 @@ function(_compile_swift_files
375373
cmake_parse_arguments(SWIFTFILE
376374
"IS_MAIN;IS_STDLIB;IS_STDLIB_CORE;IS_SDK_OVERLAY;EMBED_BITCODE;STATIC"
377375
"OUTPUT;MODULE_NAME;INSTALL_IN_COMPONENT;MACCATALYST_BUILD_FLAVOR;BOOTSTRAPPING"
378-
"SOURCES;FLAGS;DEPENDS;SDK;ARCHITECTURE;OPT_FLAGS;MODULE_DIR;NO_LINK_NAME"
376+
"SOURCES;FLAGS;DEPENDS;SDK;ARCHITECTURE;OPT_FLAGS;MODULE_DIR"
379377
${ARGN})
380378

381379
# Check arguments.

0 commit comments

Comments
 (0)