search for: klibccflags_strerror

Displaying 3 results from an estimated 3 matches for "klibccflags_strerror".

2019 Oct 07
0
[klibc:master] Fix missing header dependency for sigsuspend.o
...-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/Kbuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 526442dc..b462fbec 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -83,6 +83,10 @@ ifeq ($(CONFIG_KLIBC_ERRLIST),y) KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST endif +# sigsuspend.c includes <klibc/havesyscall.h> generated by syscalls/ +# build, so require that to build first +$(obj)/sigsuspend.o: $(obj)/syscalls/klib.list + ##### # Shared definitions LIBC := libc.a
2020 Mar 28
0
[klibc:master] Suppress format truncation warnings for sprintf() and vsprintf()
...off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/Kbuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 19ccfbec..24bad07d 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -83,6 +83,11 @@ ifeq ($(CONFIG_KLIBC_ERRLIST),y) KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST 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 + # sigsuspend.c includes <klibc/havesyscall.h> generated by syscalls/ # buil...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...ax.o \ @@ -52,19 +52,15 @@ libc-y := vsnprintf.o snprintf.o vsprint ctype/ispunct.o ctype/isspace.o ctype/isupper.o \ ctype/isxdigit.o ctype/tolower.o ctype/toupper.o -libc-$(CONFIG_KLIBC_ERRLIST) += errlist.o +klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o ifeq ($(CONFIG_KLIBC_ERRLIST),y) KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST endif -libc-$(CONFIG_KLIBC_ZLIB) += \ - zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/gzio.o \ - zlib/uncompr.o zlib/deflate.o zlib/trees.o zlib/zutil.o \ - zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/inffast.o - -# zlib specific flag -KLIBCCFLAGS += -DDYNAMIC_CR...