diff options
author | Sam James <sam@gentoo.org> | 2024-03-13 01:15:07 +0000 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-28 00:52:25 -0400 |
commit | a63739d394dd77314270f5a46f79171a8c544e77 (patch) | |
tree | a1eb75db65fba129c1fbc6fe9daeecef153ad0f7 /docs/markdown | |
parent | 3e1e37f563916221d2b090df41f684ab37e843bb (diff) | |
download | meson-a63739d394dd77314270f5a46f79171a8c544e77.zip meson-a63739d394dd77314270f5a46f79171a8c544e77.tar.gz meson-a63739d394dd77314270f5a46f79171a8c544e77.tar.bz2 |
compilers: cpp: reduce macro pollution for stdlib macros
Now that we have access to Environment in get_assert_args, we can check what
the actual C++ stdlib provider is and only set relevant macros rather than
all possibly-relevant ones based on the compiler.
Also, while we're here, now that's sorted, wire up the GCC experimental
libc++ support in the macro emission given it doesn't uglify anything for
libstdc++ users now.
Bug: https://github.com/mesonbuild/meson/issues/12962
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Diffstat (limited to 'docs/markdown')
0 files changed, 0 insertions, 0 deletions