blob: cf23010a6cc73489c056cc87db2e44b822af67de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Nur a/tools/objtool/Makefile b/tools/objtool/Makefile
--- 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)
LDFLAGS += $(LIBELF_LIBS) $(LIBSUBCMD) $(KBUILD_HOSTLDFLAGS)
# Allow old libelf to be used:
|