From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOrwP-0002JU-2h for qemu-devel@nongnu.org; Wed, 25 Sep 2013 12:27:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOrwH-00031m-Cw for qemu-devel@nongnu.org; Wed, 25 Sep 2013 12:27:53 -0400 Received: from mail-pb0-x236.google.com ([2607:f8b0:400e:c01::236]:51296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOrwH-00031b-6Q for qemu-devel@nongnu.org; Wed, 25 Sep 2013 12:27:45 -0400 Received: by mail-pb0-f54.google.com with SMTP id ro12so6224287pbb.13 for ; Wed, 25 Sep 2013 09:27:44 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Wed, 25 Sep 2013 09:27:18 -0700 Message-Id: <1380126458-3247-2-git-send-email-rth@twiddle.net> In-Reply-To: <1380126458-3247-1-git-send-email-rth@twiddle.net> References: <1380126458-3247-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 01/21] 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: anthony@codemonkey.ws 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 05e16da..ef4d9bf 100755 --- a/configure +++ b/configure @@ -981,6 +981,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.1.4