sys-apps/kexec-tools: respect CFLAGS for purgatory
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Sun, 3 May 2020 19:00:08 +0000 (21:00 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 3 May 2020 19:01:11 +0000 (21:01 +0200)
commitb4aa565ce155f21bad4f3365268c7e7f3e370f23
tree92e6f9ffbed956ae0c02d96de6f3cc7ced85cb34
parentfdbdbf3786a1cf21010c4fc14b6aeb7b8c24a4c8
sys-apps/kexec-tools: respect CFLAGS for purgatory

Only when building purgatory, replace -mfunction-return=thunk and
-mindirect-branch=thunk flags with similar -mfunction-return=thunk-inline
and -mindirect-branch=thunk-inline flags, which are not incompatible
with flags added by build system.

Closes: https://bugs.gentoo.org/646536
Closes: https://bugs.gentoo.org/692930
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-apps/kexec-tools/kexec-tools-2.0.20-r1.ebuild
sys-apps/kexec-tools/kexec-tools-9999.ebuild