public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/bird/
Date: Wed,  8 Mar 2023 22:43:32 +0000 (UTC)	[thread overview]
Message-ID: <1678315215.447ab933512e18f1d9d3e37cdf84b8b8d12f08e4.sam@gentoo> (raw)

commit:     447ab933512e18f1d9d3e37cdf84b8b8d12f08e4
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Tue Mar  7 18:11:57 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <alarig <AT> swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/29980
Signed-off-by: Sam James <sam <AT> 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[@]}"
 }
 


             reply	other threads:[~2023-03-08 22:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 22:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-13  7:10 [gentoo-commits] repo/gentoo:master commit in: net-misc/bird/ WANG Xuerui
2023-03-12 13:39 Arthur Zamarin
2023-03-12  8:36 Joonas Niilola
2023-03-07 17:18 Sam James
2023-03-07 13:33 Sam James
2023-03-07 13:33 Sam James
2023-03-07 13:33 Sam James
2023-03-07 13:33 Sam James
2022-02-28 14:26 Joonas Niilola
2022-02-28 14:26 Joonas Niilola
2021-10-11  0:02 Sam James
2021-10-04 20:46 Sam James
2021-10-04 20:40 Sam James
2021-04-09 22:51 Sam James
2020-06-20  1:14 Aaron Bauman
2020-02-10 13:53 Tony Vroon
2019-01-10 10:07 Tony Vroon
2018-06-08 13:03 Tony Vroon
2018-04-06 11:05 Fabian Groffen
2018-03-14 14:37 Michał Górny
2018-01-16 11:39 Tony Vroon
2016-12-23  9:31 Tony Vroon
2016-09-27 14:29 Tony Vroon
2016-05-03 10:21 Tony Vroon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1678315215.447ab933512e18f1d9d3e37cdf84b8b8d12f08e4.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox