commit:     56066c1b7a526ddf9b5f4f115254f4403a9bb52c
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 18 23:22:29 2019 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Mon Feb 18 23:23:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56066c1b

eclass: Fix kernel dependency for gcc v8 patch in kernel-2.eclass

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 eclass/kernel-2.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index dd6ad88746c..ece1edfb36c 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1238,9 +1238,9 @@ unipatch() {
                                if kernel_is ge 4 13 ; then
                                        UNIPATCH_DROP+=" 
5011_enable-cpu-optimizations-for-gcc8.patch"
                                fi
-                       # optimization patch for gcc >= 8 and kernel ge 3.15
+                       # optimization patch for gcc >= 8 and kernel ge 4.13
                        elif [[ "${GCC_MAJOR_VER}" -ge 8 ]]; then
-                               if kernel_is ge 3 15; then
+                               if kernel_is ge 4 13; then
                                        UNIPATCH_DROP+=" 
5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
                                fi
                        fi

Reply via email to