diff mbox series

[5/5] Makefile: Use -Wno-error=format-truncation=

Message ID 20250424204843.79193-5-jkacur@redhat.com
State New
Headers show
Series [1/5] rt-tests: cyclicdeadline: Fix usage for duration | expand

Commit Message

John Kacur April 24, 2025, 8:48 p.m. UTC
Since compile warnings are now errors, use -Wno-error=format-truncation=
at least until we can sort out MAXPATH MAX_PATH, PATH_MAX and determine
what is needed.

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 26acffed8114..6215541d2eb1 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@  prefix  ?= /usr/local
 bindir  ?= $(prefix)/bin
 mandir	?= $(prefix)/share/man
 
-CFLAGS ?= -Wall -Werror -Wno-nonnull -Wextra -Wno-sign-compare -Wno-unused-parameter
+CFLAGS ?= -Wall -Werror -Wno-nonnull -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-error=format-truncation=
 CPPFLAGS += -D_GNU_SOURCE -Isrc/include
 LDFLAGS ?=