summaryrefslogtreecommitdiff
path: root/lib/csu/sh
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-08 10:37:11 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-08 10:37:11 +0000
commitced6d20e5a6c906aef393a8dac9c78ac6eaefd53 (patch)
tree776611376ba9548fefaafaee9b578abf325eee32 /lib/csu/sh
parent86c9c861ab97a2ad110f2b21f856fa5422f22c3e (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' (The generic fix is in share/mk/*; some Makefiles have their own INSTALL lines) ok millert@ deraadt@
Diffstat (limited to 'lib/csu/sh')
-rw-r--r--lib/csu/sh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/sh/Makefile b/lib/csu/sh/Makefile
index 58f1e5dacf2..d5e2faa724c 100644
--- a/lib/csu/sh/Makefile
+++ b/lib/csu/sh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2009/10/27 23:59:58 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 2011/11/08 10:37:09 guenther Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/1/93
OBJS= crt0.o gcrt0.o crtbegin.o crtend.o crtbeginS.o crtendS.o
@@ -47,7 +47,7 @@ crtendS.o: crtendS.c
@rm -f ${.TARGET}.o
realinstall:
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
+ ${INSTALL} ${INSTALL_COPY} -S -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib
afterdepend:: .depend