]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++.exp (libstdc++_init): Set $GCC_COLORS="" instead of insisting that GCC...
authorSamuel Bronson <naesten@gmail.com>
Fri, 11 Jul 2014 15:32:14 +0000 (15:32 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 11 Jul 2014 15:32:14 +0000 (16:32 +0100)
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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index 29fbb3051fa7f8332e23e9770395fe8b118b158f..38a3c93f027e98184b09ae838b3edc76adb2bd7d 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
index d91bed6471975574de5016ed6825efeecf2079fe..0fdfbdc4b7228f804914c8416c762f80c5593fcd 100644 (file)
@@ -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