Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/libstdc++-v3 apply patch from skrll@:...



details:   https://anonhg.NetBSD.org/src/rev/542fb99cf9de
branches:  trunk
changeset: 329521:542fb99cf9de
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed May 28 07:03:27 2014 +0000

description:
apply patch from skrll@:  allow netbsd host=target to configure
GLIBCXX_IS_NATIVE.

diffstat:

 external/gpl3/gcc/dist/libstdc++-v3/configure    |  3 +++
 external/gpl3/gcc/dist/libstdc++-v3/configure.ac |  3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r db8194a8cc07 -r 542fb99cf9de external/gpl3/gcc/dist/libstdc++-v3/configure
--- a/external/gpl3/gcc/dist/libstdc++-v3/configure     Wed May 28 06:54:48 2014 +0000
+++ b/external/gpl3/gcc/dist/libstdc++-v3/configure     Wed May 28 07:03:27 2014 +0000
@@ -3038,6 +3038,9 @@
   # We are being configured with some form of cross compiler.
   GLIBCXX_IS_NATIVE=false
   case "$host","$target" in
+      *-*-netbsd*,*-*-netbsd*)
+        GLIBCXX_IS_NATIVE=true
+        ;;
     # Darwin crosses can use the host system's libraries and headers,
     # because of the fat library support.  Of course, it must be the
     # same version of Darwin on both sides.  Allow the user to
diff -r db8194a8cc07 -r 542fb99cf9de external/gpl3/gcc/dist/libstdc++-v3/configure.ac
--- a/external/gpl3/gcc/dist/libstdc++-v3/configure.ac  Wed May 28 06:54:48 2014 +0000
+++ b/external/gpl3/gcc/dist/libstdc++-v3/configure.ac  Wed May 28 07:03:27 2014 +0000
@@ -38,6 +38,9 @@
   # We are being configured with some form of cross compiler.
   GLIBCXX_IS_NATIVE=false
   case "$host","$target" in
+      *-*-netbsd*,*-*-netbsd*)
+        GLIBCXX_IS_NATIVE=true
+        ;;
     # Darwin crosses can use the host system's libraries and headers,
     # because of the fat library support.  Of course, it must be the
     # same version of Darwin on both sides.  Allow the user to



Home | Main Index | Thread Index | Old Index