Mercurial > mplayer.hg
comparison configure @ 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 | 7e3dd133fa5c |
children | 5cca2241a04a |
comparison
equal
deleted
inserted
replaced
23080:814564d496ff | 23081:ec3250bb1037 |
---|---|
137 x86_32 || x86_64 | 137 x86_32 || x86_64 |
138 } | 138 } |
139 | 139 |
140 ppc() { | 140 ppc() { |
141 case "$host_arch" in | 141 case "$host_arch" in |
142 ppc) return 0;; | 142 ppc|powerpc) return 0;; |
143 *) return 1;; | 143 *) return 1;; |
144 esac | 144 esac |
145 } | 145 } |
146 | 146 |
147 alpha() { | 147 alpha() { |
1948 _march='' | 1948 _march='' |
1949 _mcpu='' | 1949 _mcpu='' |
1950 _optimizing='' | 1950 _optimizing='' |
1951 ;; | 1951 ;; |
1952 | 1952 |
1953 ppc) | 1953 ppc|powerpc) |
1954 _def_arch='#define ARCH_POWERPC 1' | 1954 _def_arch='#define ARCH_POWERPC 1' |
1955 _def_dcbzl='#define NO_DCBZL 1' | 1955 _def_dcbzl='#define NO_DCBZL 1' |
1956 _target_arch='TARGET_ARCH_POWERPC = yes' | 1956 _target_arch='TARGET_ARCH_POWERPC = yes' |
1957 iproc='ppc' | 1957 iproc='ppc' |
1958 proc='' | 1958 proc='' |