mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06: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
1 changed files with 8 additions and 0 deletions
8
configure
vendored
8
configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue