aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-10-03 21:49:27 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-10-04 15:03:28 +0100
commit7cdab65f3d770345903023f357b6ca96bc85a002 (patch)
treede3f5a6ba651e98e074d40937684dfb37ce83f57 /gcc
parent7d8189882fc89f6f410fc9bcf0f8226787316f83 (diff)
downloadgcc-7cdab65f3d770345903023f357b6ca96bc85a002.zip
gcc-7cdab65f3d770345903023f357b6ca96bc85a002.tar.gz
gcc-7cdab65f3d770345903023f357b6ca96bc85a002.tar.bz2
libstdc++: Make <cstdint> work freestanding [PR107134]
When gcc/config.gcc defines use_gcc_stdin=wrap, GCC's <stdint.h> tries to use libc's <stdint.h> unless -ffreestanding is used. When libstdc++ is configured --disable-hosted-libstdcxx we want <cstdint> to work even without -ffreestanding being given. This is a kluge to make it include GCC's <stdint-gcc.h> directly even without -ffreestanding. libstdc++-v3/ChangeLog: PR libstdc++/107134 * include/c_global/cstdint [!_GLIBCXX_HOSTED]: Include <stdint-gcc.h> directly.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions