From 63894a8ba273f2843a3363164e0193bb33b7c7fb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 24 Feb 2015 14:48:44 +0100 Subject: [PATCH] mDNSResponder: build with our CFLAGS; fix cross compilation. --- srcpkgs/mDNSResponder/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mDNSResponder/template b/srcpkgs/mDNSResponder/template index a9dd6dbd17..2e38394a8b 100644 --- a/srcpkgs/mDNSResponder/template +++ b/srcpkgs/mDNSResponder/template @@ -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