summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-27 23:41:21 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-27 23:41:21 +0000
commit03aeee4f84e9c065db81e0eff914fe7ba8ae7d30 (patch)
treea4ab4aff37104b0696891870aa0e033f4d13118a /sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch
parent3f2c38e65965a1790ee1f7a6a2f8b159984d87ed (diff)
sys-kernel/linux-{image,sources}-lts : version bump
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch')
-rw-r--r--sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch b/sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch
index 0e6135a7..cf23010a 100644
--- a/sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch
+++ b/sys-kernel/linux-sources-redcore-lts/files/4.19-0002-Fix-Werror-build-failure-in-tools.patch
@@ -1,12 +1,12 @@
diff -Nur a/tools/objtool/Makefile b/tools/objtool/Makefile
---- a/tools/objtool/Makefile 2019-06-11 11:20:57.000000000 +0100
-+++ b/tools/objtool/Makefile 2019-06-19 19:43:15.055901403 +0100
+--- a/tools/objtool/Makefile 2019-12-17 19:36:04.000000000 +0000
++++ b/tools/objtool/Makefile 2019-12-27 23:15:17.986284113 +0000
@@ -35,7 +35,7 @@
-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: