forked from pool/cpupower
Thomas Renninger
39b7d948a3
- Update turbostat to latest version 19.08.31 OBS-URL: https://build.opensuse.org/request/show/743864 OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=100
18 lines
757 B
Diff
18 lines
757 B
Diff
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
|