diff options
Diffstat (limited to 'tools/power/x86/turbostat/Makefile')
-rw-r--r-- | tools/power/x86/turbostat/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile index 045f5f7d68ab..13f1e8b9ac52 100644 --- a/tools/power/x86/turbostat/Makefile +++ b/tools/power/x86/turbostat/Makefile | |||
@@ -9,9 +9,10 @@ ifeq ("$(origin O)", "command line") | |||
9 | endif | 9 | endif |
10 | 10 | ||
11 | turbostat : turbostat.c | 11 | turbostat : turbostat.c |
12 | override CFLAGS += -Wall -I../../../include | 12 | override CFLAGS += -O2 -Wall -I../../../include |
13 | override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"' | 13 | override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"' |
14 | override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"' | 14 | override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"' |
15 | override CFLAGS += -D_FORTIFY_SOURCE=2 | ||
15 | 16 | ||
16 | %: %.c | 17 | %: %.c |
17 | @mkdir -p $(BUILD_OUTPUT) | 18 | @mkdir -p $(BUILD_OUTPUT) |