summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-16 23:26:57 +0000
committerSam James <sam@gentoo.org>2024-11-16 23:27:32 +0000
commit8b979f80983c2bb7f219e65d0f55aab4f43b32b3 (patch)
tree46eaac6f957bc16f632cde1bd2f568fa9eb3f8c4 /dev-vcs/git/git-9999-r1.ebuild
parentdev-perl/XS-Parse-Keyword: build with -std=gnu17 (diff)
downloadgentoo-8b979f80983c2bb7f219e65d0f55aab4f43b32b3.tar.gz
gentoo-8b979f80983c2bb7f219e65d0f55aab4f43b32b3.tar.bz2
gentoo-8b979f80983c2bb7f219e65d0f55aab4f43b32b3.zip
dev-vcs/git: build with -std=gnu17
Bug: https://lore.kernel.org/git/87ed3apy2u.fsf@gentoo.org/ Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs/git/git-9999-r1.ebuild')
-rw-r--r--dev-vcs/git/git-9999-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index 17a8afd1ac8b..39ba0bb5efe7 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -8,7 +8,7 @@ GENTOO_DEPEND_ON_PERL=no
# bug #329479: git-remote-testgit is not multiple-version aware
PYTHON_COMPAT=( python3_{10..13} )
-inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd
+inherit flag-o-matic toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd
PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN"
@@ -323,6 +323,9 @@ git_emake() {
}
src_configure() {
+ # https://lore.kernel.org/git/87ed3apy2u.fsf@gentoo.org/
+ append-cflags -std=gnu17
+
exportmakeopts
}