[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] qemu/configure: fix CFLAGS handling for i386
From: |
Olaf Hering |
Subject: |
[Qemu-devel] [PATCH] qemu/configure: fix CFLAGS handling for i386 |
Date: |
Fri, 30 Mar 2012 17:24:36 +0200 |
User-agent: |
Mutt/1.5.21.rev5543 (2011-12-20) |
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 <address@hidden>
---
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
- [Qemu-devel] [PATCH] qemu/configure: fix CFLAGS handling for i386,
Olaf Hering <=