[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/4] configure: Allow command-line configure for ppc
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 1/4] configure: Allow command-line configure for ppc32 |
Date: |
Sun, 1 Sep 2013 09:07:35 -0700 |
Similar to manually selecting i386 for an x86_64 host.
Signed-off-by: Richard Henderson <address@hidden>
---
configure | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configure b/configure
index 0a55c20..07eaa3c 100755
--- a/configure
+++ b/configure
@@ -951,6 +951,14 @@ for opt do
done
case "$cpu" in
+ ppc)
+ CPU_CFLAGS="-m32"
+ LDFLAGS="-m32 $LDFLAGS"
+ ;;
+ ppc64)
+ CPU_CFLAGS="-m64"
+ LDFLAGS="-m64 $LDFLAGS"
+ ;;
sparc)
LDFLAGS="-m32 $LDFLAGS"
CPU_CFLAGS="-m32 -mcpu=ultrasparc"
--
1.8.3.1
[Qemu-devel] [PATCH 4/4] tcg-ppc: Fix and cleanup tcg_out_tlb_check, Richard Henderson, 2013/09/01