mirror of https://github.com/dynup/kpatch
kpatch-build: add -Wconversion/-Wno-sign-conversion CFLAGS
Add -Wconversion and -Wno-sign-conversion to CFLAGS. The first flag should catch any implicit conversions like the one seen with #1065 and the second flag suppress the warnings between signed and unsigned integers. Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
This commit is contained in:
parent
866faf5861
commit
4e4a8d99da
|
@ -1,6 +1,7 @@
|
|||
include ../Makefile.inc
|
||||
|
||||
CFLAGS += -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare -g -Werror
|
||||
CFLAGS += -MMD -MP -I../kmod/patch -Iinsn -Wall -Wsign-compare \
|
||||
-Wconversion -Wno-sign-conversion -g -Werror
|
||||
LDLIBS = -lelf
|
||||
|
||||
TARGETS = create-diff-object create-klp-module create-kpatch-module
|
||||
|
|
Loading…
Reference in New Issue