From 1ab1739cc6a8c6c9f11075339fea83241a7e966f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 23 Jan 2004 18:42:58 +0100 Subject: [PATCH] config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to default{32,64}. * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was set to default{32,64}. From-SVN: r76439 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f71af429e9a..619cb990949 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Jakub Jelinek + + * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was + set to default{32,64}. + 2004-01-21 Jakub Jelinek * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR) diff --git a/gcc/config.gcc b/gcc/config.gcc index 977f7fbf7e8..16d53260e2f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2527,7 +2527,11 @@ fi for which in cpu tune; do eval "val=\$with_$which" case ${val} in - "" | default32 | default64 | common \ + default32 | default64) + with_which="with_$which" + eval $with_which= + ;; + "" | common \ | power | power2 | power3 | power4 \ | powerpc | powerpc64 \ | rios | rios1 | rios2 | rsc | rsc1 | rs64a \