From a588c3b830d92c2d0525a0489c5e6b87ec25e883 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 28 Sep 2021 14:51:02 +0200 Subject: [PATCH] software/libc: Disable Atomics support on fgetc/ungetc since seems broken (at least on Rocket). --- litex/soc/software/libc/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/soc/software/libc/Makefile b/litex/soc/software/libc/Makefile index 8329991b9..481d0b438 100644 --- a/litex/soc/software/libc/Makefile +++ b/litex/soc/software/libc/Makefile @@ -40,6 +40,7 @@ libc.a: cross.txt meson $(PICOLIBC_DIRECTORY) \ -Dmultilib=false \ -Dpicocrt=false \ + -Datomic-ungetc=false \ -Dthread-local-storage=false \ -Dio-long-long=true \ -Dformat-default=integer \