net-libs/libnids: build w/ -std=gnu17, filter LTO

* Build w/ -std=gnu17.
* Filter LTO as upstream seems inactive; the SONAME bug hasn't been
  addressed yet either. Not worth spending time on at the moment.

Closes: https://bugs.gentoo.org/946622
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-02-16 12:36:07 +00:00
parent ff8e2b548c
commit 8b9d48e9a7

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -38,7 +38,10 @@ src_prepare() {
src_configure() {
tc-export AR
# bug #946622
append-flags -std=gnu17
append-flags -fno-strict-aliasing
filter-lto
econf \
--enable-shared \