commit: f59c667e9c206e59fea9f13f47eac488822ebba2
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 00:27:55 2018 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 00:28:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f59c667e
sys-apps/kexec-tools: Filter -mindirect-branch=thunk* for 1.0.16 and 9999
Package-Manager: Portage-2.3.20, Repoman-2.3.6
sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild | 5 +++--
sys-apps/kexec-tools/kexec-tools-9999.ebuild | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild
b/sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild
index f3f01574c05..e691dd6cb12 100644
--- a/sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,7 +12,7 @@ else
KEYWORDS="~amd64 ~arm64 ~x86"
fi
-inherit libtool linux-info systemd
+inherit flag-o-matic libtool linux-info systemd
DESCRIPTION="Load another kernel from the currently executing Linux kernel"
HOMEPAGE="https://kernel.org/pub/linux/utils/kernel/kexec/"
@@ -43,6 +43,7 @@ pkg_setup() {
src_prepare() {
default
elibtoolize
+ filter-flags '-mindirect-branch=thunk*'
}
src_configure() {
diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
index 784f7a48e98..89ef61b3896 100644
--- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ else
KEYWORDS="~amd64 ~arm64 ~x86"
fi
-inherit libtool linux-info systemd
+inherit flag-o-matic libtool linux-info systemd
DESCRIPTION="Load another kernel from the currently executing Linux kernel"
HOMEPAGE="https://kernel.org/pub/linux/utils/kernel/kexec/"
@@ -46,6 +46,7 @@ src_prepare() {
else
elibtoolize
fi
+ filter-flags '-mindirect-branch=thunk*'
}
src_configure() {