[llvm] 5425925 - [gn build] Properly set _LIBCPP_HARDENING_MODE_DEFAULT
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 16:47:10 PST 2023
Author: Arthur Eubanks
Date: 2023-11-09T16:46:09-08:00
New Revision: 542592586e05b76a9cc7686d858c620696a30ad7
URL: https://github.com/llvm/llvm-project/commit/542592586e05b76a9cc7686d858c620696a30ad7
DIFF: https://github.com/llvm/llvm-project/commit/542592586e05b76a9cc7686d858c620696a30ad7.diff
LOG: [gn build] Properly set _LIBCPP_HARDENING_MODE_DEFAULT
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 1cf84dd59156dd3..88321e1004578a8 100644
--- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
@@ -35,7 +35,7 @@ if (current_toolchain == default_toolchain) {
"_LIBCPP_HAS_NO_WIDE_CHARACTERS=",
"_LIBCPP_HAS_NO_STD_MODULES=",
"_LIBCPP_ABI_DEFINES=",
- "_LIBCPP_HARDENING_MODE_DEFAULT=none",
+ "_LIBCPP_HARDENING_MODE_DEFAULT=_LIBCPP_HARDENING_MODE_NONE",
"_LIBCPP_PSTL_CPU_BACKEND_LIBDISPATCH=",
"_LIBCPP_PSTL_CPU_BACKEND_SERIAL=1",
"_LIBCPP_PSTL_CPU_BACKEND_THREAD=",
More information about the llvm-commits
mailing list