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

This commit is contained in:
des 2015-12-12 22:54:12 +00:00
parent 5b5ca61388
commit 1bf9dc7fc4

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 \