From 1bf9dc7fc49a84b959b4459b6006a8d0fb96c398 Mon Sep 17 00:00:00 2001 From: des Date: Sat, 12 Dec 2015 22:54:12 +0000 Subject: Ask make(1) which compiler to use rather than rely on whatever is in $PATH. --- contrib/unbound/freebsd-configure.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/unbound') diff --git a/contrib/unbound/freebsd-configure.sh b/contrib/unbound/freebsd-configure.sh index 4430f3c..5d930a6 100755 --- a/contrib/unbound/freebsd-configure.sh +++ b/contrib/unbound/freebsd-configure.sh @@ -24,6 +24,9 @@ ldnsobj=$(realpath $(make -C$ldnsbld -V.OBJDIR)) [ -f $ldnsobj/libprivateldns.a ] || error "can't find LDNS object directory" export LDFLAGS="-L$ldnsobj" +export CC=$(echo ".include " | make -f /dev/stdin -VCC) +export CPP=$(echo ".include " | make -f /dev/stdin -VCPP) + autoconf autoheader ./configure \ -- cgit v1.1