summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-07-18 06:40:19 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-07-18 06:40:19 +0000
commit564bad8ee570ee435c721bc87135290633665aba (patch)
tree22ead97ebb989ee0b0d01d8028bc680f9827a2ef /share
parentc5e99c4e6ce1d9808519ba6c67e6cb0dfa3cd126 (diff)
Pass install the -S option to avoid a window where the target isn't
executable (by mode or content), which can trip up builds with 'make -j' ok millert@
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.prog.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 527ac7b1846..03fc2969e4c 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.prog.mk,v 1.51 2011/07/16 23:34:21 guenther Exp $
+# $OpenBSD: bsd.prog.mk,v 1.52 2011/07/18 06:40:18 guenther Exp $
# $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
@@ -118,7 +118,8 @@ afterinstall:
.if !target(realinstall)
realinstall:
.if defined(PROG)
- ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \
+ ${INSTALL} ${INSTALL_COPY} -S ${INSTALL_STRIP} \
+ -o ${BINOWN} -g ${BINGRP} \
-m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/${PROG}
.endif
.endif