diff options
author | Len Brown <len.brown@intel.com> | 2022-04-16 23:45:18 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2022-04-16 23:45:18 -0400 |
commit | 9878bf7a9fb08cfb9798cb5a42e9f5b916153db8 (patch) | |
tree | dd41fbed46b7cc0cb011253998e6826cb21ea93a /tools/power/x86/turbostat/Makefile | |
parent | 164d7a965b3e31b1ea109d2bf5dd68e1b41e020f (diff) |
tools/power turbostat: No build warnings with -Wextra
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/Makefile')
-rw-r--r-- | tools/power/x86/turbostat/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile index f3e3c94ab9bd..92e139b9c792 100644 --- a/tools/power/x86/turbostat/Makefile +++ b/tools/power/x86/turbostat/Makefile @@ -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 |