mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/ucspi-unix: build w/ -std=gnu17
Other PRs sent to the same upstream haven't had a response so let's just -std=gnu17 this. Closes: https://bugs.gentoo.org/950208 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="UCSPI implementation for Unix domain sockets"
|
||||
HOMEPAGE="https://untroubled.org/ucspi-unix/"
|
||||
@@ -17,6 +17,9 @@ KEYWORDS="~amd64 ~loong ~riscv ~sparc ~x86"
|
||||
DEPEND=">=dev-libs/bglibs-2.04"
|
||||
|
||||
src_configure() {
|
||||
# bug #950208
|
||||
append-cflags -std=gnu17
|
||||
|
||||
echo "$(tc-getCC) ${CFLAGS} -D_GNU_SOURCE" > conf-cc || die
|
||||
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user