[FFmpeg-devel] [PATCH] configure: Do not abort when cross-compiling to the native CPU
Derek Buitenhuis
derek.buitenhuis at gmail.com
Mon Mar 30 19:03:41 EEST 2020
On 07/03/2020 15:32, 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. Drop the condition that aborts in
> this case, since a cross-compiler for an incompatible architecture
> will fail with -mtune=native anyway.
Is there a reason you would set the cross-prefix instead of just the --cc, etc.
when compiling natively?
- Derek
More information about the ffmpeg-devel
mailing list