1 |
commit: 56066c1b7a526ddf9b5f4f115254f4403a9bb52c |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 18 23:22:29 2019 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 18 23:23:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56066c1b |
7 |
|
8 |
eclass: Fix kernel dependency for gcc v8 patch in kernel-2.eclass |
9 |
|
10 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
11 |
|
12 |
eclass/kernel-2.eclass | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass |
16 |
index dd6ad88746c..ece1edfb36c 100644 |
17 |
--- a/eclass/kernel-2.eclass |
18 |
+++ b/eclass/kernel-2.eclass |
19 |
@@ -1238,9 +1238,9 @@ unipatch() { |
20 |
if kernel_is ge 4 13 ; then |
21 |
UNIPATCH_DROP+=" 5011_enable-cpu-optimizations-for-gcc8.patch" |
22 |
fi |
23 |
- # optimization patch for gcc >= 8 and kernel ge 3.15 |
24 |
+ # optimization patch for gcc >= 8 and kernel ge 4.13 |
25 |
elif [[ "${GCC_MAJOR_VER}" -ge 8 ]]; then |
26 |
- if kernel_is ge 3 15; then |
27 |
+ if kernel_is ge 4 13; then |
28 |
UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch" |
29 |
fi |
30 |
fi |