--- numpy-2.0.2/numpy/distutils/ccompiler_opt.py.orig +++ numpy-2.0.2/numpy/distutils/ccompiler_opt.py @@ -964,7 +964,7 @@ return # attr regex compiler-expression detect_arch = ( - ("cc_on_x64", ".*(x|x86_|amd)64.*", ""), + ("cc_on_x64", ".*(x|x86_|amd|i86pc.)64.*", ""), ("cc_on_x86", ".*(win32|x86|i386|i686).*", ""), ("cc_on_ppc64le", ".*(powerpc|ppc)64(el|le).*|.*powerpc.*", "defined(__powerpc64__) && "