Skip to content

Commit 309dcc1

Browse files
committed
[gn] port a80e65e
See here for context: #65534 (comment)
1 parent bb28442 commit 309dcc1

File tree

1 file changed

+3
-0
lines changed
  • llvm/utils/gn/secondary/libcxx/src

1 file changed

+3
-0
lines changed

llvm/utils/gn/secondary/libcxx/src/BUILD.gn

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ config("cxx_config") {
5656
"_LIBCPP_BUILDING_LIBRARY",
5757
"_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER",
5858
]
59+
if (current_os != "win") {
60+
defines += [ "LIBCXX_BUILDING_LIBCXXABI" ]
61+
}
5962
if (target_os == "win") {
6063
cflags += [ "/Zl" ]
6164
defines += [

0 commit comments

Comments
 (0)