From a39eace756a061d0af6fe35b1ab2ab263b1f1751 Mon Sep 17 00:00:00 2001 From: Artem Savkov Date: Fri, 13 Apr 2018 16:27:02 +0200 Subject: [PATCH] kpatch-build: add -Wsign-compare to CFLAGS Add -Wsign-compare to kpatch-build CFLAGS to make sure something like #826 never happens again. Signed-off-by: Artem Savkov --- kpatch-build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpatch-build/Makefile b/kpatch-build/Makefile index 32e1995..b02831a 100644 --- a/kpatch-build/Makefile +++ b/kpatch-build/Makefile @@ -1,6 +1,6 @@ include ../Makefile.inc -CFLAGS += -MMD -MP -I../kmod/patch -Iinsn -Wall -g -Werror +CFLAGS += -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror LDLIBS = -lelf TARGETS = create-diff-object create-klp-module create-kpatch-module