Commit dd90127b authored by michael's avatar michael

amd64 as canonical system type patch by (Jacob Meuser <jakemsr jakemsr com )


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4209 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dd41e46a
...@@ -115,12 +115,13 @@ case "$cpu" in ...@@ -115,12 +115,13 @@ case "$cpu" in
i386|i486|i586|i686|i86pc|BePC) i386|i486|i586|i686|i86pc|BePC)
cpu="x86" cpu="x86"
;; ;;
x86_64) x86_64|amd64)
if [ "`$cc -dumpmachine | grep x86_64 | cut -d- -f1`" = "x86_64" -a \ cpu="x86"
-z "`echo $CFLAGS | grep -- -m32`" ]; then canon_arch="`cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
cpu="x86_64" if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
else if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then
cpu="x86" cpu="x86_64"
fi
fi fi
;; ;;
# armv4l is a subset of armv5tel # armv4l is a subset of armv5tel
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment