From: Richard Henderson Date: Wed, 28 Aug 2013 22:48:21 +0000 (-0700) Subject: configure: Allow command-line configure for ppc32 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e3608d66cea318698a2c4361d4e11a0e224c36db;p=qemu.git configure: Allow command-line configure for ppc32 Similar to manually selecting i386 for an x86_64 host. Signed-off-by: Richard Henderson --- diff --git a/configure b/configure index 05e16da63c..ef4d9bf552 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"