summarylogtreecommitdiffstats
path: root/ck-patch-for-4.19.33+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ck-patch-for-4.19.33+.patch')
-rw-r--r--ck-patch-for-4.19.33+.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ck-patch-for-4.19.33+.patch b/ck-patch-for-4.19.33+.patch
new file mode 100644
index 00000000000..5e1cf99653a
--- /dev/null
+++ b/ck-patch-for-4.19.33+.patch
@@ -0,0 +1,14 @@
+--- patch-4.19.25-ck1 2019-04-22 21:25:52.000000000 +0800
++++ patch-4.19.33-ck1 2019-04-22 21:30:45.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)
+-+CFLAGS += $(WARNINGS) $(KBUILD_HOSTCFLAGS) -g $(INCLUDES)
+- LDFLAGS += -lelf $(LIBSUBCMD) $(KBUILD_HOSTLDFLAGS)
++-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: