commit: e2d223e462cc3c8c650b0cb27f851725edb7c310
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 6 16:03:29 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 6 16:04:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2d223e4
sys-libs/gpm: 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-libs/gpm/gpm-1.20.7-r6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
index 5c3ed388e5d4..b67d1fed55b9 100644
--- a/sys-libs/gpm/gpm-1.20.7-r6.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r6.ebuild
@@ -73,7 +73,7 @@ src_prepare() {
multilib_src_configure() {
# https://github.com/telmich/gpm/issues/48
- append-cflags -std=gnu17
+ append-cflags $(test-flags-CC -std=gnu17)
# bug #885323
# src/headers/daemon.h:175:25: error: type of ‘cinfo’ does not match
original declaration [-Werror=lto-type-mismatch]