Skip to content

Commit

Permalink
kernel-2.eclass: Add gcc 10.X compatibility to CPU opt patch
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Pagano <[email protected]>
  • Loading branch information
mpagano committed May 13, 2020
1 parent 2c58128 commit ea75508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/kernel-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ea75508

Please sign in to comment.