mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
Closes: https://bugs.gentoo.org/901453 Closes: https://bugs.gentoo.org/931485 Signed-off-by: Joe Kappus <joe@wt.gd>
40 lines
1.8 KiB
Diff
40 lines
1.8 KiB
Diff
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
|
|
-override CFLAGS += -O2 -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
|
|
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
|
|
index 92e139b9c792..972fb3c5a514 100644
|
|
--- a/tools/power/x86/turbostat/Makefile
|
|
+++ b/tools/power/x86/turbostat/Makefile
|
|
@@ -9,7 +9,7 @@ ifeq ("$(origin O)", "command line")
|
|
endif
|
|
|
|
turbostat : turbostat.c
|
|
-override CFLAGS += -O2 -Wall -Wextra -I../../../include
|
|
+override CFLAGS += -Wall -Wextra -I../../../include
|
|
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 --git a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile
|
|
index 666b325a62a2..0053893229fb 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")
|
|
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
|
|
|