summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-09-12 15:10:31 -0400
committerMike Gilbert <floppym@gentoo.org>2017-09-12 15:13:29 -0400
commit3809cac66868d2631c275ce210663c826e11ec2f (patch)
treeb6173c6750cf5dfc034eabddbb4cb8e54e71c410 /sys-power/cpupower/files
parentsys-power/cpupower: install cpupower.h (diff)
downloadgentoo-3809cac66868d2631c275ce210663c826e11ec2f.tar.gz
gentoo-3809cac66868d2631c275ce210663c826e11ec2f.tar.bz2
gentoo-3809cac66868d2631c275ce210663c826e11ec2f.zip
sys-power/cpupower: bump to 4.13.0
Package-Manager: Portage-2.3.6_p60, Repoman-2.3.3_p38
Diffstat (limited to 'sys-power/cpupower/files')
-rw-r--r--sys-power/cpupower/files/cflags-strip.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-power/cpupower/files/cflags-strip.patch b/sys-power/cpupower/files/cflags-strip.patch
new file mode 100644
index 000000000000..6e70fdf38b1c
--- /dev/null
+++ b/sys-power/cpupower/files/cflags-strip.patch
@@ -0,0 +1,18 @@
+--- a/Makefile
++++ b/Makefile
+@@ -180,14 +180,7 @@
+ endif
+ export QUIET ECHO
+
+-# if DEBUG is enabled, then we do not strip or optimize
+-ifeq ($(strip $(DEBUG)),true)
+- CFLAGS += -O1 -g -DDEBUG
+- STRIPCMD = /bin/true -Since_we_are_debugging
+-else
+- CFLAGS += $(OPTIMIZATION) -fomit-frame-pointer
+- STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
+-endif
++STRIPCMD = true
+
+
+ # the actual make rules