diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-11-27 11:14:19 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-11-27 11:14:19 -0500 |
commit | e835ea9ec180af8d0a800c2d5d7928c58bf3ece6 (patch) | |
tree | f8712947e7d840c2d3763fc32bb7ce8e63231f63 /sys-power/cpupower/files | |
parent | dev-python/argcomplete: Bump to 1.10.3 (diff) | |
download | gentoo-e835ea9ec180af8d0a800c2d5d7928c58bf3ece6.tar.gz gentoo-e835ea9ec180af8d0a800c2d5d7928c58bf3ece6.tar.bz2 gentoo-e835ea9ec180af8d0a800c2d5d7928c58bf3ece6.zip |
sys-power/cpupower: bump to 5.4
Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-power/cpupower/files')
-rw-r--r-- | sys-power/cpupower/files/cpupower-5.4-cflags.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-power/cpupower/files/cpupower-5.4-cflags.patch b/sys-power/cpupower/files/cpupower-5.4-cflags.patch new file mode 100644 index 000000000000..f21435a0cd02 --- /dev/null +++ b/sys-power/cpupower/files/cpupower-5.4-cflags.patch @@ -0,0 +1,32 @@ +From 6ae1f1b03aaaee6a9a56040d3ba7af6bf6648ad6 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Wed, 27 Nov 2019 10:51:15 -0500 +Subject: [PATCH] Respect user CFLAGS + +--- + tools/power/cpupower/Makefile | 9 +-------- + 1 file changed, 1 insertion(+), 8 deletions(-) + +diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile +index c8622497ef23..f17e8c94da16 100644 +--- a/tools/power/cpupower/Makefile ++++ b/tools/power/cpupower/Makefile +@@ -178,14 +178,7 @@ else + endif + export QUIET ECHO + +-# if DEBUG is enabled, then we do not strip or optimize +-ifeq ($(strip $(DEBUG)),true) +- override CFLAGS += -O1 -g -DDEBUG +- STRIPCMD = /bin/true -Since_we_are_debugging +-else +- override CFLAGS += $(OPTIMIZATION) -fomit-frame-pointer +- STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment +-endif ++STRIPCMD = true + + + # the actual make rules +-- +2.24.0 + |