svn commit: r292135 - head/contrib/unbound

Dag-Erling Smørgrav des at FreeBSD.org
Sat Dec 12 22:54:14 UTC 2015


Author: des
Date: Sat Dec 12 22:54:12 2015
New Revision: 292135
URL: https://svnweb.freebsd.org/changeset/base/292135

Log:
  Ask make(1) which compiler to use rather than rely on whatever is in $PATH.

Modified:
  head/contrib/unbound/freebsd-configure.sh

Modified: head/contrib/unbound/freebsd-configure.sh
==============================================================================
--- head/contrib/unbound/freebsd-configure.sh	Sat Dec 12 22:19:08 2015	(r292134)
+++ head/contrib/unbound/freebsd-configure.sh	Sat Dec 12 22:54:12 2015	(r292135)
@@ -24,6 +24,9 @@ ldnsobj=$(realpath $(make -C$ldnsbld -V.
 [ -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 \


More information about the svn-src-head mailing list