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