Ask make(1) which compiler to use rather than rely on whatever is in $PATH.
This commit is contained in:
parent
5b5ca61388
commit
1bf9dc7fc4
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user