Commit 48a14b91 authored by Måns Rullgård's avatar Måns Rullgård

add x86 to ARCH_LIST simplifying config file generation

Originally committed as revision 9323 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 18ca9a4a
...@@ -676,6 +676,7 @@ ARCH_LIST=' ...@@ -676,6 +676,7 @@ ARCH_LIST='
sh4 sh4
sparc sparc
sparc64 sparc64
x86
x86_32 x86_32
x86_64 x86_64
' '
...@@ -1977,20 +1978,15 @@ echo "EXESUF=\${BUILDSUF}$EXESUF" >> config.mak ...@@ -1977,20 +1978,15 @@ echo "EXESUF=\${BUILDSUF}$EXESUF" >> config.mak
enable $arch enable $arch
# special cases # special cases
enabled_any x86_32 x86_64 && enable x86
enabled sparc64 && enable sparc
case "$arch" in case "$arch" in
x86_32|x86_64)
echo "ARCH_X86=yes" >> config.mak
echo "#define ARCH_X86 1" >> $TMPH
;;
powerpc) powerpc)
if test "$POWERPCMODE" = "64bits"; then if test "$POWERPCMODE" = "64bits"; then
echo "#define POWERPC_MODE_64BITS 1" >> $TMPH echo "#define POWERPC_MODE_64BITS 1" >> $TMPH
fi fi
;; ;;
sparc64)
echo "ARCH_SPARC=yes" >> config.mak
echo "#define ARCH_SPARC 1" >> $TMPH
;;
esac esac
if enabled bigendian; then if enabled bigendian; then
......
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