public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/linux-tools-power-x86/files/
@ 2023-02-07  7:11 Joe Kappus
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Kappus @ 2023-02-07  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f6002f72da23a5bd98f0fc909988b1963cacb556
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Feb  7 07:09:20 2023 +0000
Commit:     Joe Kappus <joe <AT> wt <DOT> gd>
CommitDate: Tue Feb  7 07:09:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6002f72

sys-power/linux-tools-power-x86: 6.1 adjust cflag patch

shuts up QA

Closes: https://bugs.gentoo.org/893266
Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 .../files/linux-tools-power-x86-6.1-cflags.patch                    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch b/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch
index d0072fe5d..499bbce0d 100644
--- a/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch
+++ b/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch
@@ -6,7 +6,7 @@ diff -urN a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-
  # (this improves performance and avoids hard-to-debug behaviour);
  MAKEFLAGS += -r
 -override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include -I/usr/include/libnl3
-+override CFLAGS += -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include -I/usr/include/libnl3
++override CFLAGS += -Wall -D_GNU_SOURCE -I$(OUTPUT)include -I/usr/include/libnl3
  override LDFLAGS += -lnl-genl-3 -lnl-3
  
  ALL_TARGETS := intel-speed-select
@@ -25,12 +25,12 @@ diff -urN a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makef
 diff -urN a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile
 --- a/tools/power/x86/x86_energy_perf_policy/Makefile	2022-12-11 17:15:18.000000000 -0500
 +++ b/tools/power/x86/x86_energy_perf_policy/Makefile	2023-02-04 05:47:25.962523488 -0500
-@@ -9,7 +9,7 @@
+@@ -9,7 +9,6 @@
  endif
  
  x86_energy_perf_policy : x86_energy_perf_policy.c
 -override CFLAGS +=	-O2 -Wall -I../../../include
 +override CFLAGS +=	-Wall -I../../../include
  override CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
- override CFLAGS +=	-D_FORTIFY_SOURCE=2
+-override CFLAGS +=	-D_FORTIFY_SOURCE=2
  


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-power/linux-tools-power-x86/files/
@ 2024-05-15  7:23 Joe Kappus
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Kappus @ 2024-05-15  7:23 UTC (permalink / raw
  To: gentoo-commits

commit:     e5c92ddd9f009b25f033d77bc860ad33528e3f62
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Wed May 15 07:19:30 2024 +0000
Commit:     Joe Kappus <joe <AT> wt <DOT> gd>
CommitDate: Wed May 15 07:22:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5c92ddd

sys-power/linux-tools-power-x86/files: drop -D_FORTIFY_SOURCE=2 from CFLAGS

Closes: https://bugs.gentoo.org/931935
Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 .../files/linux-tools-power-x86-6.1-cflags.patch   | 33 ++++++++++++++--------
 .../files/linux-tools-power-x86-6.6-cflags.patch   | 16 +++++++----
 2 files changed, 32 insertions(+), 17 deletions(-)

diff --git a/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch b/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch
index 499bbce0d6..8de8139d85 100644
--- a/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch
+++ b/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.1-cflags.patch
@@ -1,7 +1,8 @@
-diff -urN a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-speed-select/Makefile
---- a/tools/power/x86/intel-speed-select/Makefile	2022-12-11 17:15:18.000000000 -0500
-+++ b/tools/power/x86/intel-speed-select/Makefile	2023-02-04 05:47:25.961523494 -0500
-@@ -13,7 +13,7 @@
+diff --git a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-speed-select/Makefile
+index 7221f2f55e8b..96b5a456a4c5 100644
+--- a/tools/power/x86/intel-speed-select/Makefile
++++ b/tools/power/x86/intel-speed-select/Makefile
+@@ -13,7 +13,7 @@ endif
  # Do not use make's built-in rules
  # (this improves performance and avoids hard-to-debug behaviour);
  MAKEFLAGS += -r
@@ -10,10 +11,11 @@ diff -urN a/tools/power/x86/intel-speed-select/Makefile b/tools/power/x86/intel-
  override LDFLAGS += -lnl-genl-3 -lnl-3
  
  ALL_TARGETS := intel-speed-select
-diff -urN a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
---- a/tools/power/x86/turbostat/Makefile	2022-12-11 17:15:18.000000000 -0500
-+++ b/tools/power/x86/turbostat/Makefile	2023-02-04 05:49:01.960951027 -0500
-@@ -9,7 +9,7 @@
+diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
+index 92e139b9c792..d2c21035e16d 100644
+--- a/tools/power/x86/turbostat/Makefile
++++ b/tools/power/x86/turbostat/Makefile
+@@ -9,11 +9,10 @@ ifeq ("$(origin O)", "command line")
  endif
  
  turbostat : turbostat.c
@@ -22,10 +24,15 @@ diff -urN a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makef
  override CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
  override CFLAGS +=	-DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
  override CFLAGS +=	-D_FILE_OFFSET_BITS=64
-diff -urN a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile
---- a/tools/power/x86/x86_energy_perf_policy/Makefile	2022-12-11 17:15:18.000000000 -0500
-+++ b/tools/power/x86/x86_energy_perf_policy/Makefile	2023-02-04 05:47:25.962523488 -0500
-@@ -9,7 +9,6 @@
+-override CFLAGS +=	-D_FORTIFY_SOURCE=2
+ 
+ %: %.c
+ 	@mkdir -p $(BUILD_OUTPUT)
+diff --git a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile
+index 666b325a62a2..1fdeef864e7c 100644
+--- a/tools/power/x86/x86_energy_perf_policy/Makefile
++++ b/tools/power/x86/x86_energy_perf_policy/Makefile
+@@ -9,9 +9,8 @@ ifeq ("$(origin O)", "command line")
  endif
  
  x86_energy_perf_policy : x86_energy_perf_policy.c
@@ -34,3 +41,5 @@ diff -urN a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x8
  override CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
 -override CFLAGS +=	-D_FORTIFY_SOURCE=2
  
+ %: %.c
+ 	@mkdir -p $(BUILD_OUTPUT)

diff --git a/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.6-cflags.patch b/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.6-cflags.patch
index 111fb1a888..8de8139d85 100644
--- a/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.6-cflags.patch
+++ b/sys-power/linux-tools-power-x86/files/linux-tools-power-x86-6.6-cflags.patch
@@ -12,10 +12,10 @@ index 7221f2f55e8b..96b5a456a4c5 100644
  
  ALL_TARGETS := intel-speed-select
 diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
-index 92e139b9c792..972fb3c5a514 100644
+index 92e139b9c792..d2c21035e16d 100644
 --- a/tools/power/x86/turbostat/Makefile
 +++ b/tools/power/x86/turbostat/Makefile
-@@ -9,7 +9,7 @@ ifeq ("$(origin O)", "command line")
+@@ -9,11 +9,10 @@ ifeq ("$(origin O)", "command line")
  endif
  
  turbostat : turbostat.c
@@ -24,16 +24,22 @@ index 92e139b9c792..972fb3c5a514 100644
  override CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
  override CFLAGS +=	-DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
  override CFLAGS +=	-D_FILE_OFFSET_BITS=64
+-override CFLAGS +=	-D_FORTIFY_SOURCE=2
+ 
+ %: %.c
+ 	@mkdir -p $(BUILD_OUTPUT)
 diff --git a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile
-index 666b325a62a2..0053893229fb 100644
+index 666b325a62a2..1fdeef864e7c 100644
 --- a/tools/power/x86/x86_energy_perf_policy/Makefile
 +++ b/tools/power/x86/x86_energy_perf_policy/Makefile
-@@ -9,7 +9,7 @@ ifeq ("$(origin O)", "command line")
+@@ -9,9 +9,8 @@ ifeq ("$(origin O)", "command line")
  endif
  
  x86_energy_perf_policy : x86_energy_perf_policy.c
 -override CFLAGS +=	-O2 -Wall -I../../../include
 +override CFLAGS +=	-Wall -I../../../include
  override CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
- override CFLAGS +=	-D_FORTIFY_SOURCE=2
+-override CFLAGS +=	-D_FORTIFY_SOURCE=2
  
+ %: %.c
+ 	@mkdir -p $(BUILD_OUTPUT)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-15  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15  7:23 [gentoo-commits] repo/proj/guru:dev commit in: sys-power/linux-tools-power-x86/files/ Joe Kappus
  -- strict thread matches above, loose matches on Subject: below --
2023-02-07  7:11 Joe Kappus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox