Fix configure for cross-compilation and --arch=amd64.
Originally committed as revision 13058 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4b13335d1c
commit
adb2b90890
11
configure
vendored
11
configure
vendored
@ -1056,6 +1056,12 @@ for opt do
|
||||
esac
|
||||
done
|
||||
|
||||
cc="${cross_prefix}${cc}"
|
||||
ar="${cross_prefix}${ar}"
|
||||
nm="${cross_prefix}${nm}"
|
||||
ranlib="${cross_prefix}${ranlib}"
|
||||
strip="${cross_prefix}${strip}"
|
||||
|
||||
# OS specific
|
||||
case $target_os in
|
||||
beos|haiku|zeta)
|
||||
@ -1301,11 +1307,6 @@ enabled sparc64 && enable sparc
|
||||
LDFLAGS="$FFLDFLAGS $LDFLAGS"
|
||||
|
||||
test -n "$cross_prefix" && enable cross_compile
|
||||
cc="${cross_prefix}${cc}"
|
||||
ar="${cross_prefix}${ar}"
|
||||
nm="${cross_prefix}${nm}"
|
||||
ranlib="${cross_prefix}${ranlib}"
|
||||
strip="${cross_prefix}${strip}"
|
||||
|
||||
# we need to build at least one lib type
|
||||
if ! enabled_any static shared; then
|
||||
|
Loading…
Reference in New Issue
Block a user