[FFmpeg-devel] [PATCH v2] configure: Do not abort when cross-compiling to the native CPU
Michael Niedermayer
michael at niedermayer.cc
Fri Apr 3 00:38:12 EEST 2020
On Wed, Apr 01, 2020 at 12:07:55AM -0400, David Michael wrote:
> Using a compiler with a different host triplet is considered
> cross-compiling, even when it is for the same architecture as the
> build system. With such a cross-compiler, it is still valid to
> optimize builds with --cpu=host. Make the condition that aborts in
> this case into a warning instead, since a cross-compiler for an
> incompatible architecture will fail with -mtune=native anyway.
>
> Signed-off-by: David Michael <fedora.dm0 at gmail.com>
> ---
>
> Changes since v1:
> * Use a warning instead of dropping the condition altogether
>
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Old school: Use the lowest level language in which you can solve the problem
conveniently.
New school: Use the highest level language in which the latest supercomputer
can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200402/be45f7eb/attachment.sig>
More information about the ffmpeg-devel
mailing list