Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
tools/objtool/Makefile: Don't fail on fallthrough with new GCCs
Browse files Browse the repository at this point in the history
  • Loading branch information
dm0- authored and Jenkins OS committed Mar 25, 2020
1 parent 6ba139c commit 4f93814
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/lib/subcmd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ ifneq ($(WERROR),0)
CFLAGS += -Werror
endif

# Don't fail on fallthrough with newer GCCs.
CFLAGS += -Wno-error=implicit-fallthrough

CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE

CFLAGS += -I$(srctree)/tools/include/
Expand Down

0 comments on commit 4f93814

Please sign in to comment.