Revert "net-misc/bird: LTO handling"

This reverts commit 3cdbbb0ada.
Still useless
This commit is contained in:
Alarig Le Lay 2021-09-23 14:58:10 +02:00
parent 3cdbbb0ada
commit 7c6255c7c6
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
2 changed files with 3 additions and 10 deletions

View File

@ -12,7 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86 ~x64-macos"
IUSE="+client debug libssh lto"
IUSE="+client debug libssh"
RDEPEND="
client? ( sys-libs/ncurses:= )
@ -21,8 +21,7 @@ RDEPEND="
acct-group/bird
acct-user/bird
)
libssh? ( net-libs/libssh:= )
"
libssh? ( net-libs/libssh:= )"
BDEPEND="
sys-devel/bison
sys-devel/flex
@ -40,12 +39,7 @@ src_configure() {
--localstatedir="${EPREFIX}/var" \
$(use_enable client) \
$(use_enable debug) \
$(use_enable libssh) \
$(use !lto && echo bird_cv_c_lto=no)
}
src_compile() {
emake VERBOSE=1
$(use_enable libssh)
}
src_install() {

View File

@ -19,6 +19,5 @@
Enables <pkg>net-libs/libssh</pkg> binding, mendatory for RPKI
support
</flag>
<flag name="lto">Build with Link Time Optimization (LTO)</flag>
</use>
</pkgmetadata>