Skip to content

Commit 8430a03

Browse files
committed
build: remove swiftCore workaround in _add_swift_host_library
1 parent d01312c commit 8430a03

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -977,17 +977,6 @@ function(_add_swift_host_library_single target name)
977977
target_link_directories(${target} PRIVATE
978978
${library_search_directories})
979979

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-
set_property(TARGET "${target}" PROPERTY
988-
LINKER_LANGUAGE "CXX")
989-
endif()
990-
991980
# Do not add code here.
992981
endfunction()
993982

0 commit comments

Comments
 (0)