commit | e3608d66cea318698a2c4361d4e11a0e224c36db | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Wed Aug 28 15:48:21 2013 -0700 |
committer | Richard Henderson <rth@twiddle.net> | Tue Sep 24 18:50:40 2013 -0700 |
tree | 6dc68b3ba3334a3ea0c33ddf52563c75664a900d | |
parent | f828a4c8faa118e0ebab3e353ac6840f3b2a0318 [diff] [blame] |
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>
diff --git a/configure b/configure index 05e16da..ef4d9bf 100755 --- a/configure +++ b/configure
@@ -981,6 +981,14 @@ 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"