[ffmpeg] branch master updated. b1cbc7c8ff configure: strip non numeric trailer from gcc version
The branch, master has been updated via b1cbc7c8ff515159130bc4290ef6ab204e7101e8 (commit) from b815431126c8feb7557f61bb16bf6b572993089a (commit) - Log ----------------------------------------------------------------- commit b1cbc7c8ff515159130bc4290ef6ab204e7101e8 Author: Michael Niedermayer <michael@niedermayer.cc> AuthorDate: Sun Sep 21 16:49:45 2025 +0200 Commit: michaelni <michael@niedermayer.cc> CommitDate: Mon Sep 22 21:41:42 2025 +0000 configure: strip non numeric trailer from gcc version Fixes: ../configure: 7820: [: Illegal number: 13-win32 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> diff --git a/configure b/configure index 98de8e5dff..9d5a6ffc14 100755 --- a/configure +++ b/configure @@ -7816,7 +7816,7 @@ if enabled icc; then fi elif enabled gcc; then gcc_version=$($cc -dumpversion) - major_version=${gcc_version%%.*} + major_version=${gcc_version%%[!0-9]*} if [ $major_version -lt 13 ]; then # Disable tree-vectorize for GCC <13 - it has historically been buggy. check_optflags -fno-tree-vectorize ----------------------------------------------------------------------- Summary of changes: configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive --
participants (1)
-
ffmpeg-git@ffmpeg.org