diff --git a/srcpkgs/openssh/template b/srcpkgs/openssh/template index 754ae2e396e..e3b8a6de568 100644 --- a/srcpkgs/openssh/template +++ b/srcpkgs/openssh/template @@ -38,6 +38,10 @@ case $XBPS_TARGET_MACHINE in ;; esac +if [ "$XBPS_GCC_VERSION_MAJOR" -ge 7 ]; then + CFLAGS+=" -Wno-format-truncation" +fi + pre_configure() { autoreconf -fi }