mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
amd64 as canonical system type patch by (Jacob Meuser <jakemsr jakemsr com )
Originally committed as revision 4209 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8c802695b9
commit
7bf9648ebc
13
configure
vendored
13
configure
vendored
@ -115,12 +115,13 @@ case "$cpu" in
|
||||
i386|i486|i586|i686|i86pc|BePC)
|
||||
cpu="x86"
|
||||
;;
|
||||
x86_64)
|
||||
if [ "`$cc -dumpmachine | grep x86_64 | cut -d- -f1`" = "x86_64" -a \
|
||||
-z "`echo $CFLAGS | grep -- -m32`" ]; then
|
||||
cpu="x86_64"
|
||||
else
|
||||
cpu="x86"
|
||||
x86_64|amd64)
|
||||
cpu="x86"
|
||||
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 -- -m32`" ]; then
|
||||
cpu="x86_64"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
# armv4l is a subset of armv5tel
|
||||
|
Loading…
x
Reference in New Issue
Block a user