summaryrefslogtreecommitdiff
path: root/dev-python/python-tests
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2026-02-02 23:23:38 -0500
committerIonen Wolkens <ionen@gentoo.org>2026-02-02 23:27:53 -0500
commit303d30efa7ace15abbb9f65837683ac8e9897291 (patch)
tree5cc0ca6440886a0fa980d60f721932cb35d02461 /dev-python/python-tests
parent9fdf21a29669c0cae3e45b22a87b74a5ea977285 (diff)
downloadgentoo-303d30efa7ace15abbb9f65837683ac8e9897291.tar.gz
gentoo-303d30efa7ace15abbb9f65837683ac8e9897291.tar.bz2
gentoo-303d30efa7ace15abbb9f65837683ac8e9897291.zip
media-video/ffmpeg: explicitly pass --arch=arm for arm32
When not cross-compiling, `uname -m` is used to detect the arch but this may be wrong for a arm64 kernel with arm32 userspace. Normally mismatching kernel and userspace should rely on setarch or linux32, but seems that there are users that use that without a container/chroot. This isn't needed for x86 given ffmpeg sees x86_64 and _32 as the same thing (and we disable asm for bizarro x32), while for arm it'll use the wrong asm. Alternatively we could move --arch=$(tc-arch-kernel) out of the cross condition -- albeit I'm not 100% sure that's always correct given that's meant for the kernel and not ffmpeg, and it could be adjusted based on kernel changes too. Ideally we should do our own translation based on ARCH_LIST in ./configure, but I'd rather not touch this further at this time. Closes: https://bugs.gentoo.org/969514 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/python-tests')
0 files changed, 0 insertions, 0 deletions