eclass: Update cpu optimization support in kernel-2.eclass
authorMike Pagano <mpagano@gentoo.org>
Mon, 18 Feb 2019 23:15:37 +0000 (18:15 -0500)
committerMike Pagano <mpagano@gentoo.org>
Mon, 18 Feb 2019 23:16:32 +0000 (18:16 -0500)
commit9b7fecc18d011e82dab89fc145f6a1a2f570dc28
treebccc587ac535fc5888a20c87d58b793e37c5b69e
parent10ad53855eecf745f220383415b636dad6cd35a0
eclass: Update cpu optimization support in kernel-2.eclass

This patch clean's up the logic when applying or dropping
the cpu optimization patch.  This patch will also support
the applying of the gcc v8 patch which will eventually be
in genpatches and applied also via the 'experiemental' use
flag after this support is enabled.

Signed-off-by: Mike Pagano <mpagano@gentoo.org>
eclass/kernel-2.eclass