openssh: fix for gcc-7.1.0
This commit is contained in:
parent
a4acdac8fd
commit
80e2760e08
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue