[PATCH] D136712: Define _GNU_SOURCE for arm baremetal in C++ mode.
Hafiz Abid Qadeer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 28 14:04:42 PDT 2022
abidh added a comment.
In D136712#3892986 <https://reviews.llvm.org/D136712#3892986>, @manojgupta wrote:
> @tomhughes has more details on this but if we do not define it in clang itself, we'll need to define it for every package manually at build time since the usage goes deep inside newlib headers.
I remember facing a similar issue while I was trying to build a baremetal llvm toolchain for riscv. I think I defined it in libcxx config for newlib.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136712/new/
https://reviews.llvm.org/D136712
More information about the cfe-commits
mailing list