0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

libcxx: define _LIBCPP_ABI_VERSION and _LIBCPP_ABI_NAMESPACE

The changes from https://reviews.llvm.org/D119173 mean that __config no
longer defaults the libc++ ABI to 1, relying on external configuration.
This means Zig must provide the external configuration.

This fixes static libraries built with zig with -lc++ to have the
standard __1 namespace prefix, which had previously regressed in the
llvm15 branch.
This commit is contained in:
Andrew Kelley 2022-09-12 15:56:31 -07:00
commit f79824f946
2 changed files with 38 additions and 0 deletions