mirror of
https://github.com/qemu/qemu.git
synced 2025-08-08 08:05:17 +00:00
configure: Allow command-line configure for ppc32
Similar to manually selecting i386 for an x86_64 host. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
f828a4c8fa
commit
e3608d66ce
8
configure
vendored
8
configure
vendored
@ -981,6 +981,14 @@ for opt do
|
|||||||
done
|
done
|
||||||
|
|
||||||
case "$cpu" in
|
case "$cpu" in
|
||||||
|
ppc)
|
||||||
|
CPU_CFLAGS="-m32"
|
||||||
|
LDFLAGS="-m32 $LDFLAGS"
|
||||||
|
;;
|
||||||
|
ppc64)
|
||||||
|
CPU_CFLAGS="-m64"
|
||||||
|
LDFLAGS="-m64 $LDFLAGS"
|
||||||
|
;;
|
||||||
sparc)
|
sparc)
|
||||||
LDFLAGS="-m32 $LDFLAGS"
|
LDFLAGS="-m32 $LDFLAGS"
|
||||||
CPU_CFLAGS="-m32 -mcpu=ultrasparc"
|
CPU_CFLAGS="-m32 -mcpu=ultrasparc"
|
||||||
|
Loading…
Reference in New Issue
Block a user