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.
2 parents bc0dd81 + 1f0550f commit 45e833fCopy full SHA for 45e833f
stdlib/public/CMakeLists.txt
@@ -29,6 +29,8 @@ set(SWIFT_RUNTIME_CORE_LINK_FLAGS "${SWIFT_RUNTIME_LINK_FLAGS}")
29
30
if(CMAKE_SYSTEM_NAME STREQUAL "CYGWIN")
31
list(APPEND SWIFT_RUNTIME_CORE_CXX_FLAGS "-mcmodel=large")
32
+elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
33
+ list(APPEND SWIFT_RUNTIME_CORE_CXX_FLAGS "-xc++")
34
endif()
35
36
# C++ code in the runtime and standard library should generally avoid
0 commit comments