]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.host: Set try_cpu to target_cpu for existing baseline files.
authorMatthias Klose <doko@debian.org>
Fri, 20 Jun 2003 08:10:54 +0000 (08:10 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Fri, 20 Jun 2003 08:10:54 +0000 (08:10 +0000)
2003-06-20  Matthias Klose  <doko@debian.org>

        * configure.host: Set try_cpu to target_cpu for existing
        baseline files.

From-SVN: r68254

libstdc++-v3/ChangeLog
libstdc++-v3/configure.host

index f159c44c9ef1876d6b6ab484b150d2e9d5c53204..9aa551aebb7a49a2d9c7aa001aaa2796c4ba65b9 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-20  Matthias Klose  <doko@debian.org>
+
+       * configure.host: Set try_cpu to target_cpu for existing
+       baseline files.
+
 2003-06-19  Andreas Jaeger  <aj@suse.de>
 
        * testsuite/Makefile.am (extract_symvers): Revert accidental
index aaaf932ecb2a229851ec8f8107422162e3d746d5..8348b347d602940d952adad456b3ca15a570d17d 100644 (file)
@@ -58,9 +58,6 @@ c_compatibility=no
 # Set any CPU-dependent bits.
 # Here we override defaults and catch more general cases due to naming
 # conventions (e.g., chip_name* to catch all variants).
-if test -d ${glibcpp_srcdir}/config/cpu/${host_cpu}; then
-  try_cpu=${host_cpu}
-fi
 
 # THIS TABLE IS SORTED.  KEEP IT THAT WAY.
 case "${host_cpu}" in
@@ -93,7 +90,11 @@ case "${host_cpu}" in
     try_cpu=sparc
     ;;
   *)
-    try_cpu=generic
+    if test -d ${glibcpp_srcdir}/config/cpu/${host_cpu}; then
+      try_cpu=${host_cpu}
+    else
+      try_cpu=generic
+    fi
     ;;
 esac