Technically does not work out of the box (need setting up
xtajit.dll in the prefix), but it shouldn't fail to build
and little reason to keep it masked.
It shouldn't be made default for nothing though unlike on
amd64 where we enable it on no-multilib.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
It no longer requires mingw64-toolchain (or at least in >=wine-9)
given clang can be used instead, and is usable on arm64 with a caveat.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Only saying "build" given technically won't work out of the
box without the user setting up xtajit.dll themselves.
The 32bit warning could make sense on arm64 too, but given
it's off-by-default and does not work out of the box, nagging
about this every installs would just be annoying.
(the aarch64_CFLAGS changes & friends from the linked PR
were done in a previous commit)
Untested given do not have arm64 hardware, please report if
I overlooked anything.
While here, also add spacing to the warnings for visibility
and to split them if get more than one message.
Closes: https://github.com/gentoo/gentoo/pull/41752
Thanks-to: Sasha Finkelstein <fnkl.kernel@gmail.com>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Previously would test flags for only one arch as a best effort, but
this gets messier if adding --enable-archs=i386,aarch64 support where
the two are more likely to need different flags.
Using a function inside $() to avoid the need to preserve CHOST
*FLAGS and also allow e.g. filter-flags -Wl,* (from CFLAGS...)
without mangling LDFLAGS given filter-cflags does not exist.
Adapted from https://github.com/gentoo/gentoo/pull/41752
Thanks-to: Sasha Finkelstein <fnkl.kernel@gmail.com>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
incus[apparmor] now depends on this. As these are just text files, I'm
comfortably slapping ~arm64 KW on it to avoid rekeywording or
profile-package-use-masking incus itself.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Note checked upstream state closely, but hasn't gotten a
release in 11 years so just going to pass it.
Closes: https://bugs.gentoo.org/944244
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
See bug #954764 comment #2 for explanations.
Technically needs a revbump, but do not want to revbump ffmpeg too much
given still a decently long build that is on many users' systems, and
most of them do not enable libplacebo. At worst, if a user does -vulkan
on dependencies after a successful build, only ffplay or specific
filters will be broken and not the ffmpeg libraries thanks to stubs.
Closes: https://bugs.gentoo.org/954764
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>