sys-apps/kexec-tools: Filter -mindirect-branch=thunk* for 1.0.16 and 9999
authorPatrick McLean <chutzpah@gentoo.org>
Fri, 26 Jan 2018 00:27:55 +0000 (16:27 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Fri, 26 Jan 2018 00:28:15 +0000 (16:28 -0800)
Package-Manager: Portage-2.3.20, Repoman-2.3.6

sys-apps/kexec-tools/kexec-tools-2.0.16.ebuild
sys-apps/kexec-tools/kexec-tools-9999.ebuild

index f3f01574c051c3393e1c6a68294b2250b95abd0d..e691dd6cb12790793305fab33b1b21ca89c3d545 100644 (file)
@@ -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() {
index 784f7a48e98b512210493b82205b2c752ffd91e6..89ef61b3896d1d0216be3735400baa77bcfd3eef 100644 (file)
@@ -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() {