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 \
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to