openssh: fix for gcc-7.1.0

This commit is contained in:
Jürgen Buchmüller 2017-05-08 15:36:04 +02:00
parent a4acdac8fd
commit 80e2760e08
1 changed files with 4 additions and 0 deletions

View File

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