commit:     65f06adcced773d8c1ca5a72582f7236ad9431e3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 05:19:37 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 05:19:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f06adc

dev-lang/yasm: build w/ -std=gnu17

No release since 2019.

Closes: https://bugs.gentoo.org/943747
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/yasm/yasm-1.3.0-r2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-lang/yasm/yasm-1.3.0-r2.ebuild 
b/dev-lang/yasm/yasm-1.3.0-r2.ebuild
index 7bbb5163d765..34648241675c 100644
--- a/dev-lang/yasm/yasm-1.3.0-r2.ebuild
+++ b/dev-lang/yasm/yasm-1.3.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 if [[ ${PV} == 9999* ]] ; then
        EGIT_REPO_URI="https://github.com/yasm/yasm.git";
@@ -51,6 +51,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #943747
+       append-flags -std=gnu17
+
        local myconf=(
                CC_FOR_BUILD="$(tc-getBUILD_CC)"
                CCLD_FOR_BUILD="$(tc-getBUILD_CC)"

Reply via email to