aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2003-06-20 08:10:54 +0000
committerMatthias Klose <doko@gcc.gnu.org>2003-06-20 08:10:54 +0000
commitbbdfb3e8216ef29c48e73a530fe75dba987af6bf (patch)
treee78ddede022bffd1d793adeb635bda6e21171739
parent4bc730184b0ccb28f030a961ae57f936a3c16564 (diff)
downloadgcc-bbdfb3e8216ef29c48e73a530fe75dba987af6bf.zip
gcc-bbdfb3e8216ef29c48e73a530fe75dba987af6bf.tar.gz
gcc-bbdfb3e8216ef29c48e73a530fe75dba987af6bf.tar.bz2
configure.host: Set try_cpu to target_cpu for existing baseline files.
2003-06-20 Matthias Klose <doko@debian.org> * configure.host: Set try_cpu to target_cpu for existing baseline files. From-SVN: r68254
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/configure.host9
2 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f159c44..9aa551a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index aaaf932..8348b34 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -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