From patchwork Mon Aug 3 12:45:54 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30503 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 99DAAB7063 for ; Mon, 3 Aug 2009 22:53:22 +1000 (EST) Received: from localhost ([127.0.0.1]:55661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXx2V-0004hV-9H for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 08:53:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwyf-00030a-0P for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwya-0002yM-Ff for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:20 -0400 Received: from [199.232.76.173] (port=51630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwya-0002yG-4e for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:16 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40742) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwyZ-0006oD-KP for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:15 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73CnFvn006340; Mon, 3 Aug 2009 08:49:15 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73CnDtP025909; Mon, 3 Aug 2009 08:49:14 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8M7009715; Mon, 3 Aug 2009 08:49:12 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:45:54 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 03/81] Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index c70da30..efd8c96 100755 --- a/configure +++ b/configure @@ -61,7 +61,7 @@ cat > $TMPC < /dev/null 2> /dev/null ; then +if $cc $CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null ; then : C compiler works ok else echo "ERROR: \"$cc\" either does not exist or does not work" @@ -75,7 +75,7 @@ cat > $TMPC < /dev/null 2> /dev/null + $cc $CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null } if check_define __i386__ ; then