Module Name:    src
Committed By:   mrg
Date:           Sun Feb  3 11:57:25 UTC 2019

Modified Files:
        src/tools/gcc: Makefile

Log Message:
add || true to the gthr-default.h copy, it can fail first time around


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/tools/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/gcc/Makefile
diff -u src/tools/gcc/Makefile:1.89 src/tools/gcc/Makefile:1.90
--- src/tools/gcc/Makefile:1.89	Fri Feb  1 09:27:23 2019
+++ src/tools/gcc/Makefile	Sun Feb  3 11:57:25 2019
@@ -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 && ${MKNATIV
 .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 \

Reply via email to