summaryrefslogtreecommitdiff
path: root/Makefile.libcompat
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index db4f8c75447a..44a158d518bb 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -201,6 +201,7 @@ build${libcompat}: .PHONY
.endfor
.endfor
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw ${_libmagic} ${_jevents}
+.for _t in ${_obj} build-tools
${_+_}cd ${.CURDIR}/${_dir}; \
WORLDTMP=${WORLDTMP} \
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \
@@ -209,7 +210,8 @@ build${libcompat}: .PHONY
OBJROOT='$${OBJTOP}/' \
MAKEOBJDIRPREFIX= \
DIRPRFX=${_dir}/ -DNO_LINT -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \
- build-tools
+ ${_t}
+.endfor
.endfor
${_+_}cd ${.CURDIR}; \
${LIBCOMPATWMAKE} -f Makefile.inc1 -DNO_FSCHG libraries