mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Added -std=c++20 to enable std::atomic_flag::test which was introduced
in gcc 11.1:
https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2020
(see P1135R6)
For older compilers -DNO_STD_LIB=1 can be used to enable a code path
without std::atomic_flag::test, copied from:
cfc388e6a6
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>