From 17eee28798b623ee84e51b234a3e56251c0d3bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 02:48:44 +0200 Subject: [PATCH] sniproxy: needs -fcommon for gcc10 [ci skip] --- srcpkgs/sniproxy/template | 6 ++++++ 1 file changed, 6 insertions(+) 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 }