changeset 23081:ec3250bb1037

allows cross-compilation for PPC target when using a toolchain defined as powerpc
author ben
date Mon, 23 Apr 2007 17:40:25 +0000
parents 814564d496ff
children 8d037130edc5
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Apr 23 10:26:05 2007 +0000
+++ b/configure	Mon Apr 23 17:40:25 2007 +0000
@@ -139,7 +139,7 @@
 
 ppc() {
   case "$host_arch" in
-    ppc) return 0;;
+    ppc|powerpc) return 0;;
     *) return 1;;
   esac
 }
@@ -1950,7 +1950,7 @@
     _optimizing=''
     ;;
 
-  ppc)
+  ppc|powerpc)
     _def_arch='#define ARCH_POWERPC 1'
     _def_dcbzl='#define NO_DCBZL 1'
     _target_arch='TARGET_ARCH_POWERPC = yes'