summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2019-02-18 18:22:29 -0500
committerMike Pagano <mpagano@gentoo.org>2019-02-18 18:23:22 -0500
commit56066c1b7a526ddf9b5f4f115254f4403a9bb52c (patch)
treea499672bb8906ac54dd9e5534e1b8c283d7eec78
parenteclass: Update cpu optimization support in kernel-2.eclass (diff)
downloadgentoo-56066c1b7a526ddf9b5f4f115254f4403a9bb52c.tar.gz
gentoo-56066c1b7a526ddf9b5f4f115254f4403a9bb52c.tar.bz2
gentoo-56066c1b7a526ddf9b5f4f115254f4403a9bb52c.zip
eclass: Fix kernel dependency for gcc v8 patch in kernel-2.eclass
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r--eclass/kernel-2.eclass4
1 files 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