Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2015 22:54:13 +0000 (UTC)
From:      =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292135 - head/contrib/unbound
Message-ID:  <201512122254.tBCMsDFV073092@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512122254.tBCMsDFV073092>