mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
Fix previously broken x86_64 check, simplifying it in the process.
Originally committed as revision 12475 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3dddba4b5d
commit
6fce759141
2
configure
vendored
2
configure
vendored
@ -1085,7 +1085,7 @@ case "$arch" in
|
||||
enable fast_unaligned
|
||||
canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
|
||||
if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
|
||||
if [ -z "`echo $CFLAGS | grep -q -- -m32`" ]; then
|
||||
if ! echo $CFLAGS | grep -q -- -m32; then
|
||||
arch="x86_64"
|
||||
enable fast_64bit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user