From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGNno-0000ev-AO for qemu-devel@nongnu.org; Fri, 24 Jun 2016 05:53:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGNnm-0003GR-G1 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 05:53:31 -0400 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:34723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGNnm-0003G1-82 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 05:53:30 -0400 Received: by mail-lf0-x22a.google.com with SMTP id h129so112854201lfh.1 for ; Fri, 24 Jun 2016 02:53:30 -0700 (PDT) From: riku.voipio@linaro.org Date: Fri, 24 Jun 2016 12:53:00 +0300 Message-Id: In-Reply-To: References: Subject: [Qemu-devel] [PULL 05/24] configure: Don't override ARCH=unknown if enabling TCI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell From: Peter Maydell At the moment if configure finds an unknown CPU it will set ARCH to 'unknown', and then later either bail out or set it to 'tci' (depending on whether the user passed configure the --enable-tcg-interpreter switch). This is unnecessarily confusing, because we could be using TCI in two cases: * a known host architecture (in which case ARCH is set to the actual host architecture, like 'i386') * an unknown host architecture (in which case ARCH is set to 'tci') so nothing can rely on ARCH=tci to mean "using TCI". Remove the line setting ARCH, so we leave it as "unknown", which is what the actual situation is. Signed-off-by: Peter Maydell Reviewed-by: Laurent Vivier Reviewed-by: Richard Henderson Signed-off-by: Riku Voipio --- configure | 1 - 1 file changed, 1 deletion(-) diff --git a/configure b/configure index 5929aba..6696316 100755 --- a/configure +++ b/configure @@ -1380,7 +1380,6 @@ fi if test "$ARCH" = "unknown"; then if test "$tcg_interpreter" = "yes" ; then echo "Unsupported CPU = $cpu, will use TCG with TCI (experimental)" - ARCH=tci else error_exit "Unsupported CPU = $cpu, try --enable-tcg-interpreter" fi -- 2.1.4