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 <sam@gentoo.org>
This commit is contained in:
Sam James
2024-12-06 16:03:50 +00:00
parent e2d223e462
commit fb199b8e4c

View File

@@ -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