We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_add_swift_host_library
1 parent d01312c commit 8430a03Copy full SHA for 8430a03
cmake/modules/AddSwift.cmake
@@ -977,17 +977,6 @@ function(_add_swift_host_library_single target name)
977
target_link_directories(${target} PRIVATE
978
${library_search_directories})
979
980
- # NOTE(compnerd) use the C linker language to invoke `clang` rather than
981
- # `clang++` as we explicitly link against the C++ runtime. We were previously
982
- # actually passing `-nostdlib++` to avoid the C++ runtime linkage.
983
- if("${SWIFTLIB_SINGLE_SDK}" STREQUAL "ANDROID")
984
- set_property(TARGET "${target}" PROPERTY
985
- LINKER_LANGUAGE "C")
986
- else()
987
988
- LINKER_LANGUAGE "CXX")
989
- endif()
990
-
991
# Do not add code here.
992
endfunction()
993
0 commit comments