From 7d53d92fb983d2837f14aabf78dd2f667422c2ba Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Fri, 20 Jan 2017 05:00:54 +0000 Subject: Adjust cross-compilation infrastructure to cope with builduser permission requirements. From Dale Rahn. ok tb@ "commit it" guenther@ --- Makefile.cross | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.cross') 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} \ -- cgit v1.2.3