[llvm] 309dcc1 - [gn] port a80e65e00ada7
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 11:19:43 PST 2024
Author: Nico Weber
Date: 2024-01-22T14:19:29-05:00
New Revision: 309dcc112b1d3f0a24ea67e5b0377c649637260f
URL: https://github.com/llvm/llvm-project/commit/309dcc112b1d3f0a24ea67e5b0377c649637260f
DIFF: https://github.com/llvm/llvm-project/commit/309dcc112b1d3f0a24ea67e5b0377c649637260f.diff
LOG: [gn] port a80e65e00ada7
See here for context:
https://github.com/llvm/llvm-project/pull/65534#issuecomment-1904633461
Added:
Modified:
llvm/utils/gn/secondary/libcxx/src/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
index 095cd5bb5b7cc1e..79504775ea21f56 100644
--- a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
@@ -56,6 +56,9 @@ config("cxx_config") {
"_LIBCPP_BUILDING_LIBRARY",
"_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER",
]
+ if (current_os != "win") {
+ defines += [ "LIBCXX_BUILDING_LIBCXXABI" ]
+ }
if (target_os == "win") {
cflags += [ "/Zl" ]
defines += [
More information about the llvm-commits
mailing list