commit: 885bf9b8448d890b76900ed63fc1401b14d6b1cb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 6 12:58:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 6 13:03:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885bf9b8
sys-devel/m4: pass -std=gnu17 conditionally
Old compilers during Prefix bootstrap may not support it but they also
won't be defaulting to C23 so that's fine.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/m4/m4-1.4.19-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-devel/m4/m4-1.4.19-r2.ebuild b/sys-devel/m4/m4-1.4.19-r2.ebuild
index 93f8c13a49f8..3e423cc6c33b 100644
--- a/sys-devel/m4/m4-1.4.19-r2.ebuild
+++ b/sys-devel/m4/m4-1.4.19-r2.ebuild
@@ -66,7 +66,7 @@ src_prepare() {
src_configure() {
# https://savannah.gnu.org/support/index.php?111150
- append-cflags -std=gnu17
+ append-cflags $(test-flags-CC -std=gnu17)
local -a myeconfargs=(
--enable-changeword