summaryrefslogtreecommitdiff
path: root/Makefile.cross
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-01-20 05:00:54 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-01-20 05:00:54 +0000
commit7d53d92fb983d2837f14aabf78dd2f667422c2ba (patch)
tree46a36a91c55b1e711bb119a8ba824881dde34171 /Makefile.cross
parent65013734af2921f476ecf491b275f178883bf9ff (diff)
Adjust cross-compilation infrastructure to cope with builduser
permission requirements. From Dale Rahn. ok tb@ "commit it" guenther@
Diffstat (limited to 'Makefile.cross')
-rw-r--r--Makefile.cross4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.cross b/Makefile.cross
index 9bca4f0c4dd..cd56430a7f1 100644
--- a/Makefile.cross
+++ b/Makefile.cross
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.cross,v 1.90 2017/01/04 17:26:02 patrick Exp $
+# $OpenBSD: Makefile.cross,v 1.91 2017/01/20 05:00:53 patrick Exp $
cross-tools: cross-includes cross-binutils cross-gcc cross-lib
cross-distrib: cross-tools cross-bin cross-share cross-sys cross-etc-root-var
@@ -151,6 +151,8 @@ ${CROSSDIRS}:
${CROSSOBJ}: ${CROSSDIRS}
@-mkdir -p ${CROSSDIR}/usr/obj
+ @-chgrp ${WOBJGROUP} ${CROSSDIR}/usr/obj
+ @-chmod g+w ${CROSSDIR}/usr/obj
@(cd ${.CURDIR} && \
BSDOBJDIR=${CROSSDIR}/usr/obj \
COMPILER_VERSION=${COMPILER_VERSION} \