From 59050d431b87d3fdd23c30cfe2cbd48819dd09af Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 17 Apr 2018 16:48:08 +0000 Subject: testing/linux-tools: new aport for cpupower and perf --- testing/linux-tools/cpupower-libs.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testing/linux-tools/cpupower-libs.patch (limited to 'testing/linux-tools/cpupower-libs.patch') diff --git a/testing/linux-tools/cpupower-libs.patch b/testing/linux-tools/cpupower-libs.patch new file mode 100644 index 0000000000..d11fe2e9b9 --- /dev/null +++ b/testing/linux-tools/cpupower-libs.patch @@ -0,0 +1,21 @@ +diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile +index 8358863259c5..fe6d70f9c5fc 100644 +--- a/tools/power/cpupower/Makefile ++++ b/tools/power/cpupower/Makefile +@@ -54,6 +54,7 @@ export STATIC ?= false + + # Prefix to the directories we're installing to + DESTDIR ?= ++LIBINTL_LIBS ?= + + # --- CONFIGURATION END --- + +@@ -223,7 +224,7 @@ $(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ) + ifeq ($(strip $(STATIC)),true) + $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lrt -lpci -L$(OUTPUT) -o $@ + else +- $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -lrt -lpci -L$(OUTPUT) -o $@ ++ $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) $(LIBINTL_LIBS) -lcpupower -lrt -lpci -L$(OUTPUT) -o $@ + endif + $(QUIET) $(STRIPCMD) $@ + -- cgit v1.2.3