projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f828a4c
)
configure: Allow command-line configure for ppc32
author
Richard Henderson
<rth@twiddle.net>
Wed, 28 Aug 2013 22:48:21 +0000
(15:48 -0700)
committer
Richard Henderson
<rth@twiddle.net>
Wed, 25 Sep 2013 01:50:40 +0000
(18:50 -0700)
Similar to manually selecting i386 for an x86_64 host.
Signed-off-by: Richard Henderson <rth@twiddle.net>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 05e16da63ca8925cdebc69ee81c4f54b66574edf..ef4d9bf5527bffdccad13d6f83ea4e86d1d589b2 100755
(executable)
--- 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"