sys-kernel/uek-sources: add O3 patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2021-12-24 23:35:25 +00:00
parent 779d887cec
commit 53e90e1116
5 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/Kconfig b/Kconfig
index 930c36f..8c3cf67 100644
--- a/Kconfig
+++ b/Kconfig
@@ -1218,7 +1218,6 @@ config CC_OPTIMIZE_FOR_PERFORMANCE
config CC_OPTIMIZE_FOR_PERFORMANCE_O3
bool "Optimize more for performance (-O3)"
- depends on ARC
help
Choosing this option will pass "-O3" to your compiler to optimize
the kernel yet more for performance.

View File

@@ -35,6 +35,7 @@ IUSE="+gentoo experimental"
PATCHES=(
"${FILESDIR}"/uek-sources-5.4.17.2136.303.1-ip6_sock_set_v6only.patch
"${FILESDIR}"/uek-sources-5.4.17.2136.303.1-O3.patch
)
src_unpack() {