diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-02-11 20:17:51 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-02-11 20:21:56 +0000 |
commit | d2f7c9935b63554f65183746c7460f211a803c79 (patch) | |
tree | e9b2647980d036d270fe306becc7cb9471cd591e /sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild | |
parent | sys-devel/binutils: make CET optional (and disabled by default) (diff) | |
download | gentoo-d2f7c9935b63554f65183746c7460f211a803c79.tar.gz gentoo-d2f7c9935b63554f65183746c7460f211a803c79.tar.bz2 gentoo-d2f7c9935b63554f65183746c7460f211a803c79.zip |
sys-devel/binutils-hppa64: make CET optional (and disabled by default)
Reported-by: subzero_ro@yahoo.com
Bug: https://bugs.gentoo.org/770061
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild')
-rw-r--r-- | sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild b/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild index f26da6552ae3..e4ac93eb4d76 100644 --- a/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild +++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.36.1.ebuild @@ -10,7 +10,7 @@ inherit eutils libtool flag-o-matic gnuconfig multilib toolchain-funcs DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="default-gold doc +gold multitarget +nls +plugins static-libs test" +IUSE="cet default-gold doc +gold multitarget +nls +plugins static-libs test" REQUIRED_USE="default-gold? ( gold )" # Variables that can be set here: @@ -253,6 +253,11 @@ src_configure() { # avoid automagic dependency on (currently prefix) systems # systems with debuginfod library, bug #754753 --without-debuginfod + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) ) echo ./configure "${myconf[@]}" "${S}"/configure "${myconf[@]}" || die |