]> git.ipfire.org Git - thirdparty/gcc.git/commit
elf: ELF toolchain --without-{headers, newlib} should provide stdint.h
authorArsen Arsenovic <arsen@aarsen.me>
Mon, 17 Oct 2022 06:58:07 +0000 (08:58 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 17 Oct 2022 06:59:17 +0000 (08:59 +0200)
commitf10b9f64133cbfb5ba06f4deb23766f92629bdd9
treee8bc2ff4f9b4c85f6f2a2febf9e4965aa615f044
parentfd206f0e95fb6f41b96eaaaab1dc0c30378e5e08
elf: ELF toolchain --without-{headers, newlib} should provide stdint.h

stdint.h is considered a freestanding headers by C, and a valid stdint.h
is required for certain parts of libstdc++' configuration, so we should
simply provide one when we have no other way (i.e. newlib or
user-specified sysroot) of getting one.

* config.gcc: --target=*-elf --without-{newlib,headers} should
provide stdint.h.
gcc/config.gcc