Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/tools/gcc Apply patch (requested by christos in ticket #3...
details: https://anonhg.NetBSD.org/src/rev/53d9f540d19b
branches: netbsd-8
changeset: 434330:53d9f540d19b
user: snj <snj%NetBSD.org@localhost>
date: Mon Oct 09 17:59:16 2017 +0000
description:
Apply patch (requested by christos in ticket #312):
disable dual libstdc++ abi
diffstat:
tools/gcc/Makefile | 4 +++-
tools/gcc/mknative-gcc | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r 84e18e6a7354 -r 53d9f540d19b tools/gcc/Makefile
--- a/tools/gcc/Makefile Mon Oct 02 13:37:05 2017 +0000
+++ b/tools/gcc/Makefile Mon Oct 09 17:59:16 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2017/03/22 23:11:10 chs Exp $
+# $NetBSD: Makefile,v 1.81.4.1 2017/10/09 17:59:16 snj Exp $
.include <bsd.own.mk>
@@ -35,6 +35,7 @@
--with-bugurl=http://www.NetBSD.org/Misc/send-pr.html \
--with-pkgversion="NetBSD ${NETBSD_GCC_VERSION}" \
--with-system-zlib \
+ --disable-libstdcxx-dual-abi \
--enable-__cxa_atexit \
--enable-libstdcxx-time=rt \
--enable-libstdcxx-threads
@@ -190,6 +191,7 @@
--disable-multilib \
--disable-symvers \
--disable-libstdcxx-pch \
+ --disable-libstdcxx-dual-abi \
--build=`${GCCDIST}/config.guess` \
--host=${MACHINE_GNU_PLATFORM} \
--with-sysroot=${DESTDIR}
diff -r 84e18e6a7354 -r 53d9f540d19b tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc Mon Oct 02 13:37:05 2017 +0000
+++ b/tools/gcc/mknative-gcc Mon Oct 09 17:59:16 2017 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mknative-gcc,v 1.89 2016/10/05 19:25:49 christos Exp $
+# $NetBSD: mknative-gcc,v 1.89.6.1 2017/10/09 17:59:16 snj Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of gcc.
@@ -380,7 +380,7 @@
# special transforms
for f in gtyp-input.list; do
- sed -e 's/^.*external\/gpl3\/gcc\/dist/SRCDIR/' < $_TMPDIR/gcc/$f > $_OUTDIR/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f
+ sed -e "s@^.*$_OUTDIRBASE/dist@SRCDIR@" < $_TMPDIR/gcc/$f > $_OUTDIR/usr.bin/$_subdir/arch/$MACHINE_ARCH/$f
done
# special platforms
Home |
Main Index |
Thread Index |
Old Index