search for: klibccflags_vsprintf

Displaying 4 results from an estimated 4 matches for "klibccflags_vsprintf".

Did you mean: klibccflags_sprintf
2020 Mar 29
0
[kvm-unit-tests PATCH v3 1/4] Kbuild: add support for clang builds
...)/interp.o diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 24bad07d..c3ebff99 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-option,-Wno-format-truncation, ) +KLIBCCFLAGS_vsprintf.o += $(call cc-option,-Wno-format-truncation, ) # sigsuspend.c includes <klibc/havesyscall.h> generated by syscalls/ # build, so require that to build first diff --git a/...
2020 Jul 25
0
[klibc:master] Kbuild: add support for clang builds
...)/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-option,-Wno-format-truncation, ) +KLIBCCFLAGS_vsprintf.o += $(call cc-option,-Wno-format-truncation, ) # sigsuspend.c includes <klibc/havesyscall.h> generated by syscalls/ # build, so require that to build first diff --git a/...
2020 Mar 29
7
[kvm-unit-tests PATCH v3 0/4] Update patch set
- Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT. - Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc. - Remove "dash" warning fixes which have been upstreamed. - Conditionalize the inclusion of compiler flags by using the proper compiler name or "cc-option". - Added "-Werror" to "cc-option" to catch flags that cause warnings. - Retain
2020 Mar 28
0
[klibc:master] Suppress format truncation warnings for sprintf() and vsprintf()
...4bad07d 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/ # build, so require that to build first $(obj)/sigsuspend.o: $(obj)/syscalls/klib.list