summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2007-12-30 12:20:58 +0000
committerespie <espie@openbsd.org>2007-12-30 12:20:58 +0000
commitdb448af0e1ee5990f5f03f39a4bc68121df48715 (patch)
treec1249a33319479f2f58908fc220dae277c5d4997
parentRemove unused variable consintr. ok mbalmer (diff)
downloadwireguard-openbsd-db448af0e1ee5990f5f03f39a4bc68121df48715.tar.xz
wireguard-openbsd-db448af0e1ee5990f5f03f39a4bc68121df48715.zip
enforce install -S, avoids races with make -j:
libtool does relink some files during install, and it can happen that it relinks stuff at the exact same time that ld is being reinstalled. okay kettenis@
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
index 7425eb15b14..e6d62dc5c17 100644
--- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.70 2007/03/26 08:19:36 jmc Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.71 2007/12/30 12:20:58 espie Exp $
NEW_BINUTILS=alpha amd64 arm hppa hppa64 i386 mips64 powerpc sh sparc sparc64
@@ -127,6 +127,7 @@ install: maninstall
tooldir=${PREFIX} \
BSDSRCDIR=${BSDSRCDIR} \
INSTALL_MODULES='${INSTALL_MODULES}' \
+ INSTALL_PROGRAM='install -c -S' \
INSTALL_INFO_HOST_MODULES='${INSTALL_INFO_HOST_MODULES}' \
install install-info
.if ${USING_NEW_BINUTILS:L} != "yes"