SHA256
1
0
forked from pool/cpupower
cpupower/turbostat_makefile_fix_asm_header.patch

18 lines
757 B
Diff
Raw Normal View History

Index: turbostat-19.08.31/Makefile
===================================================================
--- turbostat-19.08.31.orig/Makefile 2019-10-29 15:23:56.962276473 +0100
+++ turbostat-19.08.31/Makefile 2019-10-29 16:12:52.926434670 +0100
@@ -9,9 +9,9 @@ ifeq ("$(origin O)", "command line")
endif
turbostat : turbostat.c
-override CFLAGS += -O2 -Wall -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 += -O2 -Wall -I ./include
+override CFLAGS += -DMSRHEADER='"msr-index.h"'
+override CFLAGS += -DINTEL_FAMILY_HEADER='"intel-family.h"'
override CFLAGS += -D_FORTIFY_SOURCE=2
%: %.c