[libcxx-commits] [libcxx] [libc++][test] fix redefinition of _LIBCPP_HARDENING_MODE (PR #109330)
Jannik Glückert via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 23 11:06:45 PDT 2024
Jannik2099 wrote:
> In what files?
`/etc/clang/foo.cfg`
This is how we apply `-D_LIBCPP_HARDENING_MODE` on gentoo.
> how would they make it in the test suite because of CXXFLAGS
I had assumed that the compiler flags passed to cmake would also propagate to the lit tests, but admittedly I haven't tested that.
As it is now, tests are unrunnable out of the box with our system config.
https://github.com/llvm/llvm-project/pull/109330
More information about the libcxx-commits
mailing list