summarylogtreecommitdiffstats
path: root/ck-patch-for-4.19.76+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ck-patch-for-4.19.76+.patch')
-rw-r--r--ck-patch-for-4.19.76+.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ck-patch-for-4.19.76+.patch b/ck-patch-for-4.19.76+.patch
new file mode 100644
index 00000000000..a4e1dac2691
--- /dev/null
+++ b/ck-patch-for-4.19.76+.patch
@@ -0,0 +1,13 @@
+--- patch-4.19.75-ck1 2019-10-14 22:36:41.000000000 +0800
++++ patch-4.19.76-ck1 2019-10-14 22:48:01.000000000 +0800
+@@ -16774,8 +16774,8 @@
+ -I$(srctree)/tools/arch/$(HOSTARCH)/include/uapi \
+ -I$(srctree)/tools/objtool/arch/$(ARCH)/include
+ WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed
+--CFLAGS += -Werror $(WARNINGS) $(KBUILD_HOSTCFLAGS) -g $(INCLUDES) $(LIBELF_FLAGS)
+-+CFLAGS += $(WARNINGS) $(KBUILD_HOSTCFLAGS) -g $(INCLUDES) $(LIBELF_FLAGS)
++-CFLAGS := -Werror $(WARNINGS) $(KBUILD_HOSTCFLAGS) -g $(INCLUDES) $(LIBELF_FLAGS)
+++CFLAGS := $(WARNINGS) $(KBUILD_HOSTCFLAGS) -g $(INCLUDES) $(LIBELF_FLAGS)
+ LDFLAGS += $(LIBELF_LIBS) $(LIBSUBCMD) $(KBUILD_HOSTLDFLAGS)
+
+ # Allow old libelf to be used: