summaryrefslogtreecommitdiff
path: root/share/mk/bsd.subdir.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.subdir.mk')
-rw-r--r--share/mk/bsd.subdir.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index 7696c1a1b7a..0420ac3dec7 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.subdir.mk,v 1.13 2005/01/19 18:01:51 espie Exp $
+# $OpenBSD: bsd.subdir.mk,v 1.14 2005/02/05 10:39:50 espie Exp $
# $NetBSD: bsd.subdir.mk,v 1.11 1996/04/04 02:05:06 jtc Exp $
# @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
@@ -42,6 +42,7 @@ _SUBDIRUSE: .USE
cd ${.CURDIR}/$${_newdir_}; \
${MAKE} SKIPDIR="$${subskipdir}" \
$${_makefile_spec_} _THISDIR_="$${_nextdir_}" \
+ ${MAKE_FLAGS} \
${.TARGET:S/realinstall/install/:S/.depend/depend/}; \
fi); \
done
@@ -58,7 +59,7 @@ ${SUBDIR}::
fi; \
echo "===> $${_newdir_}"; \
cd ${.CURDIR}/$${_newdir_}; \
- ${MAKE} $${_makefile_spec_} _THISDIR_="$${_newdir_}" all
+ ${MAKE} ${MAKE_FLAGS} $${_makefile_spec_} _THISDIR_="$${_newdir_}" all
.endif
.if !target(install)