Displaying 2 results from an estimated 2 matches for "ae5eb6dc".
2020 Jul 25
0
[klibc:master] stdio: Add extern definition of clearerr()
...nline definition, but need an extern definition too.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/klibc/Kbuild | 2 +-
usr/klibc/stdio/clearerr.c | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index ae5eb6dc..7929dee5 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -75,7 +75,7 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \
stdio/fread.o stdio/fwrite.o stdio/fflush.o \
stdio/ungetc.o stdio/fgetc.o \
stdio/fseek.o stdio/ftell.o stdio/rewind.o \
- stdio/fileno.o stdio/feo...
2020 Jul 25
0
[klibc:master] Kbuild: add support for clang builds
...cc-name)),--print-libgcc,--print-libgcc-file-name))
+KLIBCLIBGCC ?= $(KLIBCLIBGCC_DEF)
KLIBCCRT0 := $(KLIBCOBJ)/arch/$(KLIBCARCHDIR)/crt0.o
KLIBCLIBC := $(KLIBCOBJ)/libc.a
KLIBCCRTSHARED := $(KLIBCOBJ)/interp.o
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index c6338851..ae5eb6dc 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -85,8 +85,8 @@ endif
# These pass a huge maximum length to the corresponding length-limiting
# functions
-KLIBCCFLAGS_sprintf.o += -Wno-format-truncation
-KLIBCCFLAGS_vsprintf.o += -Wno-format-truncation
+KLIBCCFLAGS_sprintf.o += $(call cc...