summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2019-02-03 11:57:25 +0000
committermrg <mrg@NetBSD.org>2019-02-03 11:57:25 +0000
commitb40798a49684e1008475b5fcdaea38bbc07caf6a (patch)
tree2503b2d19c1048c1ca08f0ca798273cd56a91d58 /tools
parent2fa1cbf95a7e44858bcfd33d0c77b61a45235827 (diff)
add || true to the gthr-default.h copy, it can fail first time around
Diffstat (limited to 'tools')
-rw-r--r--tools/gcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gcc/Makefile b/tools/gcc/Makefile
index 0e40a5a6d24..bc9cdcd1343 100644
--- a/tools/gcc/Makefile
+++ b/tools/gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2019/02/01 09:27:23 mrg Exp $
+# $NetBSD: Makefile,v 1.90 2019/02/03 11:57:25 mrg Exp $
.include <bsd.hostinit.mk>
@@ -197,7 +197,7 @@ MKENV_BUILD_MAKE=cd .native && ${MKNATIVE_ENV} ${BUILD_MAKE}
.native/.configure_done: ${_GNU_CFGSRC} ${.CURDIR}/Makefile
mkdir .native .native/gcc .native/gcc/include 2>/dev/null || true
# If this fails, gthreads won't be configured initially, but reconfig will.
- -cp ${DESTDIR}/usr/include/g++/bits/gthr-default.h .native/gcc/include
+ cp ${DESTDIR}/usr/include/g++/bits/gthr-default.h .native/gcc/include || true
PATH=${TOOLDIR}/bin:$$PATH; export PATH; \
(cd .native && ${MKNATIVE_ENV} \
${HOST_SH} ${GNUHOSTDIST}/configure \