diff options
author | Con Kolivas <kernel@kolivas.org> | 2018-02-18 12:36:22 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2018-08-27 13:23:20 +1000 |
commit | 9373404cbf09e8e7efefff45e9f84817b22f80c9 (patch) | |
tree | cf9fadad5ca5ebe0b0aa1053631f96f871abb3f4 | |
parent | 5993666ed48f2a17043b7ef67a7ca17418852b6b (diff) |
Fix Werror build failure in tools.
-rw-r--r-- | tools/objtool/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index f76d9914686a..3199a0629ccc 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -31,7 +31,7 @@ INCLUDES := -I$(srctree)/tools/include \ -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) $(HOSTCFLAGS) -g $(INCLUDES) +CFLAGS += $(WARNINGS) $(HOSTCFLAGS) -g $(INCLUDES) LDFLAGS += -lelf $(LIBSUBCMD) $(HOSTLDFLAGS) # Allow old libelf to be used: |