aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2014-07-11 15:32:14 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2014-07-11 16:32:14 +0100
commit7cd41cda09923a7c57f9bfda863455e3040b69c6 (patch)
tree38cf97185852310152b389d0f5fedda22a56b1e6 /libstdc++-v3
parentc786fca61b0531b8b9b60b969c46421042a0bfeb (diff)
downloadgcc-7cd41cda09923a7c57f9bfda863455e3040b69c6.zip
gcc-7cd41cda09923a7c57f9bfda863455e3040b69c6.tar.gz
gcc-7cd41cda09923a7c57f9bfda863455e3040b69c6.tar.bz2
libstdc++.exp (libstdc++_init): Set $GCC_COLORS="" instead of insisting that GCC understand...
2014-07-11 Samuel Bronson <naesten@gmail.com> * testsuite/lib/libstdc++.exp (libstdc++_init): Set $GCC_COLORS="" instead of insisting that GCC understand -fdiagnostics-color=never From-SVN: r212458
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp4
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 29fbb30..38a3c93 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,4 +1,9 @@
2014-07-11 Samuel Bronson <naesten@gmail.com>
+
+ * testsuite/lib/libstdc++.exp (libstdc++_init): Set $GCC_COLORS=""
+ instead of insisting that GCC understand -fdiagnostics-color=never
+
+2014-07-11 Samuel Bronson <naesten@gmail.com>
Matthias Klose <doko@ubuntu.com>
PR libstdc++/58962
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index d91bed6..0fdfbdc 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -289,9 +289,11 @@ proc libstdc++_init { testfile } {
v3track cxxflags 2
+ # Should be as good as -fdiagnostics-color=never, but more compatible
+ setenv GCC_COLORS ""
# Always use MO files built by this test harness.
- set cxxflags "-fdiagnostics-color=never $cxxflags -DLOCALEDIR=\".\""
set ccflags "$cxxflags -DLOCALEDIR=\".\""
+ set cxxflags "$cxxflags -DLOCALEDIR=\".\""
# If a PCH file is available, use it. We must delay performing
# this check until $cxx and such have been initialized because we