From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDdh0-0002iD-4C for qemu-devel@nongnu.org; Fri, 30 Mar 2012 11:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDdgv-0003f4-BB for qemu-devel@nongnu.org; Fri, 30 Mar 2012 11:24:45 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.162]:36811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDdgv-0003eX-2T for qemu-devel@nongnu.org; Fri, 30 Mar 2012 11:24:41 -0400 Date: Fri, 30 Mar 2012 17:24:36 +0200 From: Olaf Hering Message-ID: <20120330152436.GA31016@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Subject: [Qemu-devel] [PATCH] qemu/configure: fix CFLAGS handling for i386 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, xen-devel@lists.xensource.com configure will generate incorrect CFLAGS which will lead to compile errors due to unknown gcc options, IFF CFLAGS was already in the environment during configure invocation. Add a space before the -march=i486 gcc option. This patch is against the qemu-xen tree, but it should apply also to qemu.git since it has the same issue. Please apply to both trees. Signed-off-by: Olaf Hering --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: qemu-xen-dir-remote/configure =================================================================== --- qemu-xen-dir-remote.orig/configure +++ qemu-xen-dir-remote/configure @@ -2637,7 +2637,7 @@ int main(int argc, char **argv) } EOF if ! compile_prog "" "" ; then - CFLAGS+="-march=i486" + CFLAGS+=" -march=i486" fi fi From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH] qemu/configure: fix CFLAGS handling for i386 Date: Fri, 30 Mar 2012 17:24:36 +0200 Message-ID: <20120330152436.GA31016@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: qemu-devel@nongnu.org, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org configure will generate incorrect CFLAGS which will lead to compile errors due to unknown gcc options, IFF CFLAGS was already in the environment during configure invocation. Add a space before the -march=i486 gcc option. This patch is against the qemu-xen tree, but it should apply also to qemu.git since it has the same issue. Please apply to both trees. Signed-off-by: Olaf Hering --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: qemu-xen-dir-remote/configure =================================================================== --- qemu-xen-dir-remote.orig/configure +++ qemu-xen-dir-remote/configure @@ -2637,7 +2637,7 @@ int main(int argc, char **argv) } EOF if ! compile_prog "" "" ; then - CFLAGS+="-march=i486" + CFLAGS+=" -march=i486" fi fi