summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2020-05-13 11:39:22 -0400
committerMike Pagano <mpagano@gentoo.org>2020-05-13 11:39:22 -0400
commitea75508d300e0fd2e3fcf46e2c9d1e9302a0f383 (patch)
tree8c999e755aef6c6243e97a514b4194a27c533ac5
parentdev-perl/Cairo: Bump to version 1.107.0 (diff)
downloadgentoo-ea75508d300e0fd2e3fcf46e2c9d1e9302a0f383.tar.gz
gentoo-ea75508d300e0fd2e3fcf46e2c9d1e9302a0f383.tar.bz2
gentoo-ea75508d300e0fd2e3fcf46e2c9d1e9302a0f383.zip
kernel-2.eclass: Add gcc 10.X compatibility to CPU opt patch
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r--eclass/kernel-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 6a6a268b264a..07af8d8ab2c5 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1243,7 +1243,7 @@ unipatch() {
UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc.patch"
UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
UNIPATCH_DROP+=" 5012_enable-cpu-optimizations-for-gcc91.patch"
- elif [[ "${GCC_MAJOR_VER}" -eq 9 ]] && [[ ${GCC_MINOR_VER} -ge 1 ]]; then
+ elif [[ "${GCC_MAJOR_VER}" -ge 9 ]] && [[ ${GCC_MINOR_VER} -ge 1 ]]; then
UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc.patch"
UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
UNIPATCH_DROP+=" 5011_enable-cpu-optimizations-for-gcc8.patch"