Skip to content

Commit

Permalink
tools/power turbostat: No build warnings with -Wextra
Browse files Browse the repository at this point in the history
Signed-off-by: Len Brown <[email protected]>
  • Loading branch information
lenb committed Apr 17, 2022
1 parent 164d7a9 commit 9878bf7
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 63 deletions.
2 changes: 1 addition & 1 deletion tools/power/x86/turbostat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ifeq ("$(origin O)", "command line")
endif

turbostat : turbostat.c
override CFLAGS += -O2 -Wall -I../../../include
override CFLAGS += -O2 -Wall -Wextra -I../../../include
override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
override CFLAGS += -D_FILE_OFFSET_BITS=64
Expand Down
Loading

0 comments on commit 9878bf7

Please sign in to comment.