mDNSResponder: build with our CFLAGS; fix cross compilation.

This commit is contained in:
Juan RP 2015-02-24 14:48:44 +01:00
parent 74465f39a3
commit 63894a8ba2

View file

@ -14,8 +14,9 @@ conf_files="/etc/nss_mdns.conf"
conflicts="nss-mdns>=0"
do_build() {
sed -i "s,cc ,$CC ,g" Clients/Makefile
cd mDNSPosix
make os=linux HAVE_IPV6=1 CC=$CC STRIP=echo
make os=linux HAVE_IPV6=1 CC=$CC LD="$CC -shared" CFLAGS_DEBUG="$CFLAGS" STRIP=echo
}
do_install() {
cd mDNSPosix