diff options
author | Sam James <sam@gentoo.org> | 2024-12-01 14:39:35 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-01 14:55:47 +0000 |
commit | 74bead07daccb608dacc9def810ad9924a9260b0 (patch) | |
tree | 4319bf00bb2ea695873afe959c4674eb3b84099b /dev-java/byaccj | |
parent | xfce-base/xfce4-appfinder: Bump to 4.19.4 (diff) | |
download | gentoo-74bead07daccb608dacc9def810ad9924a9260b0.tar.gz gentoo-74bead07daccb608dacc9def810ad9924a9260b0.tar.bz2 gentoo-74bead07daccb608dacc9def810ad9924a9260b0.zip |
dev-java/byaccj: build w/ -std=gnu17
Closes: https://bugs.gentoo.org/880329
Closes: https://bugs.gentoo.org/944104
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/byaccj')
-rw-r--r-- | dev-java/byaccj/byaccj-1.15-r3.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-java/byaccj/byaccj-1.15-r3.ebuild b/dev-java/byaccj/byaccj-1.15-r3.ebuild index e1f996fcb550..a2d15fc92a46 100644 --- a/dev-java/byaccj/byaccj-1.15-r3.ebuild +++ b/dev-java/byaccj/byaccj-1.15-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="A Java extension of BSD YACC-compatible parser generator" HOMEPAGE="https://byaccj.sourceforge.net/" @@ -22,6 +22,9 @@ PATCHES=( src_compile() { cp "${FILESDIR}/Makefile" src/Makefile || die + + # bug #880329, bug #944104 + append-cflags -std=gnu17 emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" -C src linux } |