OSDN Git Service

* testsuite/lib/libstdc++.exp (libstdc++_init): Revert part of
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2007 15:48:15 +0000 (15:48 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2007 15:48:15 +0000 (15:48 +0000)
2007-09-06 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128384 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 1849b11..f6dcbdc 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * testsuite/lib/libstdc++.exp (libstdc++_init): Revert part of
+       2007-09-06 change.
+
 2007-09-09  Roger Sayle  <roger@eyesopen.com>
 
        * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): Add ECANCELED for cygwin.
index cc24fc9..4603305 100644 (file)
@@ -171,6 +171,13 @@ proc libstdc++_init { testfile } {
        set compiler [transform "g++"]
     }
 
+    # Default settings.
+    set cxx [transform "g++"]
+    set cxxflags "-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0"
+    set cxxldflags ""
+    set cc [transform "gcc"]
+    # Locate testsuite_hooks.h and other testsuite headers.
+    set includes "-I${srcdir}/util"
     # Adapt the defaults for special circumstances.
     if [is_remote host] {
        # A remote host does not, in general, have access to the
@@ -199,12 +206,6 @@ proc libstdc++_init { testfile } {
                return "untested"
            }
        }
-       # Default settings.
-       set cxx [transform "g++"]
-       set cxxflags "-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 " 
-       set cxxldflags ""
-       set cc [transform "gcc"]
-       # Locate testsuite_hooks.h and other testsuite headers. 
        set includes "-Iutil"
     } elseif { [file exists $flags_file] } {
         # If we find a testsuite_flags file, we're testing in the build dir.