allows cross-compilation for PPC target when using a toolchain defined as powerpc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23099 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2007-04-23 17:40:25 +00:00
parent 9103dcb237
commit 0caed087de
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -139,7 +139,7 @@ x86() {
ppc() { ppc() {
case "$host_arch" in case "$host_arch" in
ppc) return 0;; ppc|powerpc) return 0;;
*) return 1;; *) return 1;;
esac esac
} }
@ -1950,7 +1950,7 @@ EOF
_optimizing='' _optimizing=''
;; ;;
ppc) ppc|powerpc)
_def_arch='#define ARCH_POWERPC 1' _def_arch='#define ARCH_POWERPC 1'
_def_dcbzl='#define NO_DCBZL 1' _def_dcbzl='#define NO_DCBZL 1'
_target_arch='TARGET_ARCH_POWERPC = yes' _target_arch='TARGET_ARCH_POWERPC = yes'