Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/gcc add || true to the gthr-default.h copy, it can fai...



details:   https://anonhg.NetBSD.org/src/rev/f97906d6e15a
branches:  trunk
changeset: 996482:f97906d6e15a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 03 11:57:25 2019 +0000

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

diffstat:

 tools/gcc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ff168767be9a -r f97906d6e15a tools/gcc/Makefile
--- a/tools/gcc/Makefile        Sun Feb 03 11:15:45 2019 +0000
+++ b/tools/gcc/Makefile        Sun Feb 03 11:57:25 2019 +0000
@@ -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 @@
 .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 \



Home | Main Index | Thread Index | Old Index