[llvm] 87494de - [gn build] slightly improve libcxx_needs_site_config
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 08:32:59 PDT 2020
Author: Nico Weber
Date: 2020-09-11T11:32:20-04:00
New Revision: 87494def4830f0b20af6cb8a4d8b3b668c8d3ec5
URL: https://github.com/llvm/llvm-project/commit/87494def4830f0b20af6cb8a4d8b3b668c8d3ec5
DIFF: https://github.com/llvm/llvm-project/commit/87494def4830f0b20af6cb8a4d8b3b668c8d3ec5.diff
LOG: [gn build] slightly improve libcxx_needs_site_config
The write_cmake_config() here still looks busted, but at least
the value that's explicitly set is now set correctly.
Added:
Modified:
llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
index 904ace07585f..e30622f52195 100644
--- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
@@ -23,7 +23,7 @@ if (libcxx_needs_site_config) {
values += [ "_LIBCPP_ABI_NAMESPACE=$libcxx_abi_namespace" ]
}
if (libcxx_abi_unstable) {
- values += [ "_LIBCPP_ABI_UNSTABLE=" ]
+ values += [ "_LIBCPP_ABI_UNSTABLE=1" ]
}
}
More information about the llvm-commits
mailing list