16 lines
587 B
Diff
16 lines
587 B
Diff
|
diff --git a/Makefile b/Makefile
|
||
|
index 842015e..d05d62b 100644
|
||
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -597,8 +597,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
|
||
|
KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer)
|
||
|
KBUILD_CFLAGS += $(call cc-disable-warning, address)
|
||
|
KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
|
||
|
-
|
||
|
+KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch)
|
||
|
KBUILD_CFLAGS += -g
|
||
|
+
|
||
|
# $(KBUILD_AFLAGS) sets -g, which causes gcc to pass a suitable -g<format>
|
||
|
# option to the assembler.
|
||
|
KBUILD_AFLAGS += -g
|