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

This commit is contained in:
Dag-Erling Smørgrav 2015-12-12 22:54:12 +00:00
parent 3c0237a634
commit c0096f20d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292135

View File

@ -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 \