From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJBot-0002Hs-Gq for qemu-devel@nongnu.org; Mon, 09 Sep 2013 20:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJBon-0005m9-JC for qemu-devel@nongnu.org; Mon, 09 Sep 2013 20:28:39 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:47989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJBon-0005m2-Bf for qemu-devel@nongnu.org; Mon, 09 Sep 2013 20:28:33 -0400 Received: by mail-pa0-f46.google.com with SMTP id fa1so6917716pad.5 for ; Mon, 09 Sep 2013 17:28:32 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Mon, 9 Sep 2013 17:28:18 -0700 Message-Id: <1378772902-4074-4-git-send-email-rth@twiddle.net> In-Reply-To: <1378772902-4074-1-git-send-email-rth@twiddle.net> References: <1378772902-4074-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v2 3/7] configure: Allow command-line configure for ppc32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, aurelien@aurel32.net Similar to manually selecting i386 for an x86_64 host. Signed-off-by: Richard Henderson --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index e989609..24f54f3 100755 --- a/configure +++ b/configure @@ -955,6 +955,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