summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.host
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-20 08:10:54 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-20 08:10:54 +0000
commit3286325f2426a35a661481de3f61f068ccdf3869 (patch)
treee78ddede022bffd1d793adeb635bda6e21171739 /libstdc++-v3/configure.host
parentaf72d7d64419832201d1536058ab60cc18b0340e (diff)
downloadgcc-3286325f2426a35a661481de3f61f068ccdf3869.tar.gz
2003-06-20 Matthias Klose <doko@debian.org>
* configure.host: Set try_cpu to target_cpu for existing baseline files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68254 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.host')
-rw-r--r--libstdc++-v3/configure.host9
1 files changed, 5 insertions, 4 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index aaaf932ecb2..8348b347d60 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