diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile index 950233e28..b6bb20c6a 100644 --- a/lib/libelf/Makefile +++ b/lib/libelf/Makefile @@ -167,4 +167,4 @@ INCSDIR= /usr/include # Keep the .SUFFIXES line after the include of bsd.lib.mk .SUFFIXES: .m4 .c .m4.c: - m4 -D SRCDIR=${.CURDIR} ${.IMPSRC} > ${.TARGET} + ${TOOL_M4} -D SRCDIR=${.CURDIR} ${.IMPSRC} > ${.TARGET}