Skip to content

Commit 84c8210

Browse files
committed
[compiler-rt] Set the default C++ library to libc++ on OpenBSD
1 parent 6df1291 commit 84c8210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ macro(handle_default_cxx_lib var)
200200
set(${var}_LIBNAME "${CMAKE_MATCH_1}")
201201
set(${var}_SYSTEM 1)
202202
elseif (${var} STREQUAL "default")
203-
if (APPLE OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
203+
if (APPLE OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
204204
set(${var}_LIBNAME "libc++")
205205
set(${var}_SYSTEM 1)
206206
elseif (FUCHSIA)

0 commit comments

Comments
 (0)