diff --git a/srcpkgs/sniproxy/template b/srcpkgs/sniproxy/template index 25eaee470c6..1aa2e194671 100644 --- a/srcpkgs/sniproxy/template +++ b/srcpkgs/sniproxy/template @@ -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 }