python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / linux-tools / patches / turbostat.patch
bloba060eaa1cd726e57e4386d3807a5672947f52c8b
1 --- tools/power/x86/turbostat/Makefile.orig
2 +++ tools/power/x86/turbostat/Makefile
3 @@ -8,13 +8,13 @@
4 endif
6 turbostat : turbostat.c
7 -CFLAGS += -Wall
8 -CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
9 -CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
10 +override CFLAGS += -Wall
11 +override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
12 +override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
14 %: %.c
15 @mkdir -p $(BUILD_OUTPUT)
16 - $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@
17 + $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS)
19 .PHONY : clean
20 clean :