diff options
author | des <des@FreeBSD.org> | 2015-12-12 22:54:12 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2015-12-12 22:54:12 +0000 |
commit | 1bf9dc7fc49a84b959b4459b6006a8d0fb96c398 (patch) | |
tree | 9f74ba56cb2a7a8ecbbd1bf5b57fffcdd1f63747 /contrib/unbound | |
parent | 5b5ca61388a37f2bfd00e1099aea7da63315c15b (diff) | |
download | FreeBSD-src-1bf9dc7fc49a84b959b4459b6006a8d0fb96c398.zip FreeBSD-src-1bf9dc7fc49a84b959b4459b6006a8d0fb96c398.tar.gz |
Ask make(1) which compiler to use rather than rely on whatever is in $PATH.
Diffstat (limited to 'contrib/unbound')
-rwxr-xr-x | contrib/unbound/freebsd-configure.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 <bsd.lib.mk>" | make -f /dev/stdin -VCC) +export CPP=$(echo ".include <bsd.lib.mk>" | make -f /dev/stdin -VCPP) + autoconf autoheader ./configure \ |