From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4DAB915802F for ; Wed, 8 Mar 2023 22:43:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 382B9E08F0; Wed, 8 Mar 2023 22:43:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D8B7E08F0 for ; Wed, 8 Mar 2023 22:43:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 09985341082 for ; Wed, 8 Mar 2023 22:43:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95220888 for ; Wed, 8 Mar 2023 22:43:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1678315215.447ab933512e18f1d9d3e37cdf84b8b8d12f08e4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/bird/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/bird/bird-2.0.12.ebuild X-VCS-Directories: net-misc/bird/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 447ab933512e18f1d9d3e37cdf84b8b8d12f08e4 X-VCS-Branch: master Date: Wed, 8 Mar 2023 22:43:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 53c2cf75-f09c-4a4d-9790-da070869260a X-Archives-Hash: 2b64b601f8140a34fbdae5d33cf22352 commit: 447ab933512e18f1d9d3e37cdf84b8b8d12f08e4 Author: Alarig Le Lay swordarmor fr> AuthorDate: Tue Mar 7 18:11:57 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 8 22:40:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=447ab933 net-misc/bird: Using custom-cflags to make lto optionnal Closes: https://bugs.gentoo.org/781923 Signed-off-by: Alarig Le Lay swordarmor.fr> Closes: https://github.com/gentoo/gentoo/pull/29980 Signed-off-by: Sam James gentoo.org> net-misc/bird/bird-2.0.12.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-misc/bird/bird-2.0.12.ebuild b/net-misc/bird/bird-2.0.12.ebuild index 11b8c7484e39..043f67e052c9 100644 --- a/net-misc/bird/bird-2.0.12.ebuild +++ b/net-misc/bird/bird-2.0.12.ebuild @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos" -IUSE="+client debug libssh" +IUSE="+client custom-cflags debug libssh" RDEPEND=" client? ( @@ -56,6 +56,12 @@ src_configure() { $(use_enable libssh) ) + # lto must be enabled by default as bird is mono-threaded and use several + # optimisations to be fast, as it may very likely be exposed to several + # thounsand BGP updates per seconds + # Although, we make it possible to deactivate it if wanted + use custom-cflags && myargs+=( bird_cv_c_lto=no ) + econf "${myargs[@]}" }