mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 02:34:54 +00:00
Autodetect PowerPC vs. PowerPC64.
This is the same code as for x86_64. This is necessary because uname returns PPC64 if the hardware is 64 bit, however the userland can still be fully 32 bit. In that case FFmpeg fails to compile because some macros in the asm code are set up incorrectly. For details see https://bugs.gentoo.org/show_bug.cgi?id=341235 Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
177aec1257
commit
d07950f774
11
configure
vendored
11
configure
vendored
@ -2188,13 +2188,9 @@ case "$arch" in
|
||||
arch="parisc"
|
||||
subarch="parisc64"
|
||||
;;
|
||||
"Power Macintosh"|ppc|powerpc)
|
||||
"Power Macintosh"|ppc|powerpc|ppc64|powerpc64)
|
||||
arch="ppc"
|
||||
;;
|
||||
ppc64|powerpc64)
|
||||
arch="ppc"
|
||||
subarch="ppc64"
|
||||
;;
|
||||
s390|s390x)
|
||||
arch="s390"
|
||||
;;
|
||||
@ -2392,6 +2388,11 @@ EOF
|
||||
spic=$shared
|
||||
fi
|
||||
;;
|
||||
ppc)
|
||||
check_cc <<EOF && subarch="ppc64"
|
||||
int test[(int)sizeof(char*) - 7];
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
|
||||
enable $subarch
|
||||
|
Loading…
Reference in New Issue
Block a user