aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/arm/float_dsp_init_arm.c
diff options
context:
space:
mode:
authorCoia Prant <coiaprant@gmail.com>2025-05-23 17:32:00 +0800
committerMartin Storsjö <martin@martin.st>2025-05-26 14:46:29 +0300
commitdf967d095ae6a42a46cd4c46b96d61cc1c319b23 (patch)
tree58719d1df2067e70931dd42d673c8c1ecb639d97 /libavutil/arm/float_dsp_init_arm.c
parent43a69886b2164ae9a6936d0df14f7a4c74121679 (diff)
downloadffmpeg-df967d095ae6a42a46cd4c46b96d61cc1c319b23.tar.gz
configure: Use MSYSTEM_CARCH for default arch on msys2
On msys2, `uname -m` returns the architecture of the base msys2 layer. On Windows on arm64, the base msys2 layer itself is still x86_64 only, even if running with e.g. the clangarm64 where the windows native applications are built as aarch64. If MSYSTEM_CARCH is set, use this instead of `uname -m` for the default architecture. This gives the correct behaviour for the clangarm64 environments. It also gives the correct default for the 32 bit x86 environments such as `mingw32`. (On `mingw32`, the fact that `uname -m` returned `x86_64` hasn't been an issue, as both that and `i686` gets normalized into `x86` internally in ffmpeg's configure.) Signed-off-by: Coia Prant <coiaprant@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/arm/float_dsp_init_arm.c')
0 files changed, 0 insertions, 0 deletions