aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-01-16 15:52:20 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-01-16 16:09:42 +0000
commitd694a3d57535fbb3737dd583b15b69e0845a5846 (patch)
tree6e1423b511c9304f0e803aa140e946a05d4c2286 /gcc
parentb22634281fff352fcf71dd4fbbf6e6fcbc9a46cf (diff)
downloadgcc-d694a3d57535fbb3737dd583b15b69e0845a5846.zip
gcc-d694a3d57535fbb3737dd583b15b69e0845a5846.tar.gz
gcc-d694a3d57535fbb3737dd583b15b69e0845a5846.tar.bz2
libstdc++: Fix --with-default-libstdcxx-abi=gcc4-compatible build
When building src/c++20/tzdb.cc we currently get a build error for --with-default-libstdcxx-abi=gcc4-compatible because std::chrono::tzdb and related types are not declared for the gcc4-compatible ABI (unless --disable-libstdcxx-dual-abi is also used, so that the gcc4-compatible ABI is the only one built). Define _GLIBCXX_USE_CXX11_ABI in tzdb.cc so that for a dual-abi build we always build it for the cxx11 ABI. libstdc++-v3/ChangeLog: * src/c++20/tzdb.cc (_GLIBCXX_USE_CXX11_ABI): Define to 1.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions