Commit 8f0d9c14 for tesseract

commit 8f0d9c14419cdcb758a9d54d31e193f63bb3c519
Author: Stefan Weil <sw@weilnetz.de>
Date:   Thu Nov 26 17:01:06 2026 +0100

    sw: compile functionsavx2.cpp with AVX2

    The new file src/arch/functionsavx2.cpp (commit 3eccd1e6) needs AVX2,
    but the sw build passed -mavx2 only to intsimdmatrixavx2.cpp. So the
    build for x86_64 failed with all compilers but MSVC, which gets AVX2
    for the whole library:

        src/arch/functionsavx2.cpp:19:6: error: #error Implementation
        only for AVX2 capable architectures

    Assisted-by: Claude Fable 5.2 (Anthropic)
    Signed-off-by: Stefan Weil <sw@weilnetz.de>

diff --git a/sw.cpp b/sw.cpp
index f8456193..f6be177c 100644
--- a/sw.cpp
+++ b/sw.cpp
@@ -72,6 +72,7 @@ void build(Solution &s)
             libtesseract["src/arch/dotproductavx.cpp"].args.push_back("-mavx");
             libtesseract["src/arch/dotproductavx512.cpp"].args.push_back("-mavx512f");
             libtesseract["src/arch/dotproductsse.cpp"].args.push_back("-msse4.1");
+            libtesseract["src/arch/functionsavx2.cpp"].args.push_back("-mavx2");
             libtesseract["src/arch/intsimdmatrixsse.cpp"].args.push_back("-msse4.1");
             libtesseract["src/arch/intsimdmatrixavx2.cpp"].args.push_back("-mavx2");
         }