Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 13 May 2020 15:39:48
Message-Id: 1589384362.ea75508d300e0fd2e3fcf46e2c9d1e9302a0f383.mpagano@gentoo
1 commit: ea75508d300e0fd2e3fcf46e2c9d1e9302a0f383
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 13 15:39:22 2020 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Wed May 13 15:39:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea75508d
7
8 kernel-2.eclass: Add gcc 10.X compatibility to CPU opt patch
9
10 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
11
12 eclass/kernel-2.eclass | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
16 index 6a6a268b264..07af8d8ab2c 100644
17 --- a/eclass/kernel-2.eclass
18 +++ b/eclass/kernel-2.eclass
19 @@ -1243,7 +1243,7 @@ unipatch() {
20 UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc.patch"
21 UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
22 UNIPATCH_DROP+=" 5012_enable-cpu-optimizations-for-gcc91.patch"
23 - elif [[ "${GCC_MAJOR_VER}" -eq 9 ]] && [[ ${GCC_MINOR_VER} -ge 1 ]]; then
24 + elif [[ "${GCC_MAJOR_VER}" -ge 9 ]] && [[ ${GCC_MINOR_VER} -ge 1 ]]; then
25 UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc.patch"
26 UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch"
27 UNIPATCH_DROP+=" 5011_enable-cpu-optimizations-for-gcc8.patch"