sniproxy: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:44 +02:00
parent 752c82246c
commit 17eee28798
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
conf_files="/etc/${pkgname}.conf"
CFLAGS="-fcommon"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() {
autoreconf -fi
}