diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-17 16:48:08 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-17 16:52:06 +0000 |
| commit | 59050d431b87d3fdd23c30cfe2cbd48819dd09af (patch) | |
| tree | 770d47a4f0a883c7eea77b2151286e78ce556ca8 /testing/linux-tools/cpupower-libs.patch | |
| parent | 48ad71a2a59fb93342a24d9f8c8722c94054ff56 (diff) | |
| download | aports-59050d431b87d3fdd23c30cfe2cbd48819dd09af.tar.bz2 aports-59050d431b87d3fdd23c30cfe2cbd48819dd09af.tar.xz | |
testing/linux-tools: new aport for cpupower and perf
Diffstat (limited to 'testing/linux-tools/cpupower-libs.patch')
| -rw-r--r-- | testing/linux-tools/cpupower-libs.patch | 21 |
1 files changed, 21 insertions, 0 deletions
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) $@ + |
