mirror of https://github.com/mpv-player/mpv
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:
parent
9103dcb237
commit
0caed087de
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue