summaryrefslogtreecommitdiff
path: root/tools/power/x86/turbostat/Makefile
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2020-03-19 23:24:17 -0400
committerLen Brown <len.brown@intel.com>2020-03-20 00:32:28 -0400
commitfcaa681c03ea82193e60d7f2cdfd94fbbcd4cae9 (patch)
treed94b23a8b2c7c3ccbf6d144bac09d9877809bcf8 /tools/power/x86/turbostat/Makefile
parent1f81c5efc020314b2db30d77efe228b7e117750d (diff)
tools/power turbostat: Fix 32-bit capabilities warning
warning: `turbostat' uses 32-bit capabilities (legacy support in use) Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/Makefile')
-rw-r--r--tools/power/x86/turbostat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
index 13f1e8b9ac52..2b6551269e43 100644
--- a/tools/power/x86/turbostat/Makefile
+++ b/tools/power/x86/turbostat/Makefile
@@ -16,7 +16,7 @@ override CFLAGS += -D_FORTIFY_SOURCE=2
%: %.c
@mkdir -p $(BUILD_OUTPUT)
- $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS)
+ $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS) -lcap
.PHONY : clean
clean :