From fb199b8e4c41273a5a1f3015247d5b57ce7dc2c9 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 6 Dec 2024 16:03:50 +0000 Subject: [PATCH] net-misc/rsync: 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 --- net-misc/rsync/rsync-3.3.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/rsync/rsync-3.3.0-r1.ebuild b/net-misc/rsync/rsync-3.3.0-r1.ebuild index 3a11a5ea88450..2c4a1bb28ccb6 100644 --- a/net-misc/rsync/rsync-3.3.0-r1.ebuild +++ b/net-misc/rsync/rsync-3.3.0-r1.ebuild @@ -109,7 +109,7 @@ src_prepare() { src_configure() { # Should be fixed upstream in next release (>3.3.0) (bug #943745) - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myeconfargs=( --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf